Showing results for 
Search instead for 
Did you mean: 

Use LabVIEW to login username and password into device IP webpage login prompt

Hi pessen,

the Authentication is part of the Header not of the GET line. The GET Line is everytime the same: GET /URL HTTP/1.1. i think it has to be something like this:

  • GET / HTTP/1.1\r\n
  • Authentication: Basic Y3li...=\r\n
  • \r\n

it has to be the same string like you see in Wireshark.


Message Edited by MikeS81 on 02-12-2008 01:11 PM
0 Kudos
Message 11 of 16

Hi pessen,

do you know this article?

I need what you want now at work, but at the moment i have no ready version.


0 Kudos
Message 12 of 16
I got it to work finally. The vi I was using was set up so that the text input would only take one line of when I would try to input the request plus teh cerification header on seperate lines it would only take the first one. Like I said, I am fairly new to LabVIEW so it took me longer to realize what it was doing than it should have. Thanks for your help, I really appreciate it.
0 Kudos
Message 13 of 16

Hi pessen,


Sorry to bring up this issue again. I'm also faced  with the same issue of authenticating using LabVIEW and TCP/IP.


Could you kindly let me know what was the final header format that you followed to send the authentication command? Right now I'm at the same situation you were with error 401 appearing all the time.


Many thanks!





0 Kudos
Message 14 of 16



I want to login webpage of wireless router,but when I use wireshark to capture the communication data,there is no Post action.

I can find the user name and password information in Get action.


However,I can not log in successfully.

login window.JPGready.JPGthere is no post action.JPG

0 Kudos
Message 15 of 16

User and PW.JPG


User name and Password information is included in Get action.


When I use this information to try login,but it still failed.



Any help is appreciated.




0 Kudos
Message 16 of 16