LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to login to a webpage and put my username, password and click the login button. Can I do this using labview?


@EBlip wrote:

Thank you for the response! 

 

So I am attempting to control a device via an intranet http connection. So, access is obtained just through 'http://ip.address'. The problem is when I do this, It prompts me with a username and password in a pop up window. 

 

In LabVIEW I am attempting to make http requests to operate the device, but it cannot execute the commands because it cannot get past the login screen. Once I pass the credentials, I have the code written to manipulate the device, but do not know how to pass credentials through URL. I will attach some pictures of the pop up window below.

 

I am using Microsoft Edge to access the device. Please let me know what other details I can provide!


Can you show your LabVIEW code? I'm confused by the combination of using Edge and using LabVIEW http requests.

 

Embedded user:password URLs seem to be deprecated, so support is (according to SO) patchy.

 

You might (perhaps) have more luck setting basic Authentication headers (which you can do with e.g. the Add Header VI in the Http Client VIs if you can use those for your purpose).


GCentral
0 Kudos
Message 11 of 11
(218 Views)