HTTPRequest GET with user/password

Just starting out? Need help? Post your questions and find answers here.
User avatar
hujambo
User
User
Posts: 48
Joined: Wed May 15, 2013 8:26 pm
Location: South Pacific

HTTPRequest GET with user/password

Post by hujambo »

Hi guys,

I'm looking to connect to a device via HTTPS that is on a private network with a user/password to access it's web gui. User:Password@https://192.168.1.10 doesn't work btw. Can you run a HTTPRequest GET an include user/password info? Idealy I want to use ReceiveHTTPFile to access the status page once connected.

Looking on the Forum there is a lot of outdated information mentioning libcurl.pbi that I believe no longer works. Can anyone point me in the right direction please.

Many thanks,

Ed
Marc56us
Addict
Addict
Posts: 1479
Joined: Sat Feb 08, 2014 3:26 pm

Re: HTTPRequest GET with user/password

Post by Marc56us »

User:Password@https://192.168.1.10 doesn't work
https://username:password@192.168.1.10

But:
- Not secure to keep user/passwd in url
- Not work with all browsers
infratec
Always Here
Always Here
Posts: 6874
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: HTTPRequest GET with user/password

Post by infratec »

There is always a way ...
but yo need to know the webpage and how to answer the login.
So first you should try the easy way (seee above) then, if not working, you need to look at the web traffic
via WireShark.
Then you see how the data is transferred to the server.
Post Reply