Problem with HTTPRequest at 7.3

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
transolut
Newbie
Posts: 14
Joined: Wed May 19, 2004 2:00 pm
Location: Des Moines, IA USA

Problem with HTTPRequest at 7.3

Post by transolut » Thu Mar 31, 2005 6:29 pm

I am also having a problem with HTTPRequest at 7.3 that killed a working macro from 7.2. Going back to 7.2 fixed the problem.

I am using the GET option to pull data from a web based data gathering system with a SQL query. The system is password protected, so I embed the username and passwork in the HTTPRequest. Example:

http://user:[email protected]/appdb/qu ... ct%20value......

This works fine at 7.2 but returns a 401: Access Denied at 7.3 which indicates it is not accepting the log in information.

I am not setting the new HTTP timeout parameter, so it should still function like 7.2

Any ideas?

Thanks!
Mike Miller
Transolut

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Fri Apr 01, 2005 8:21 am

Hi,

Looks like necessary changes to HTTPRequest have broken the username/password authentication. We'll look at this for next release. In mean time I'd recommend the following solution:
http://www.mjtnet.com/forum/viewtopic.php?t=1655

The nice thing about this is that it uses IE in the background and therefore anything you can do with IE will work. Furthermore if you want to parse the HTML returned this will be much easier as you have access to IE's Document Object Model interface.
MJT Net Support
[email protected]

User avatar
transolut
Newbie
Posts: 14
Joined: Wed May 19, 2004 2:00 pm
Location: Des Moines, IA USA

Post by transolut » Fri Apr 01, 2005 6:48 pm

Thanks...

I appreciate the alternate method. It is interesting, but since it works fine now by loading 7.2 again, I will wait until the next release for this customer.
Mike Miller
Transolut

User avatar
transolut
Newbie
Posts: 14
Joined: Wed May 19, 2004 2:00 pm
Location: Des Moines, IA USA

Post by transolut » Thu Aug 04, 2005 4:14 pm

Does the new 7.4 Beta fix the problen with user authentication in the HTTP request as described in the origianal post fir this topic?
Mike Miller
Transolut

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Thu Aug 04, 2005 5:24 pm

Hi,

Yes, this will be fixed in 7.4. It will be in the next beta release (004).
MJT Net Support
[email protected]

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts