LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Authenticate, login to a secure web service (https)

Hi everyone,

I am new to LabView web service. 

I am trying to authenticate and login to https web service via http client but I am getting an authentication error.

 

Please advise 

LV2020_0-1612146724731.png

 

0 Kudos
Message 1 of 5
(7,216 Views)

Probably a problem in the block diagram of the VI, or perhaps your username and password.

 

A picture of a front panel doesn't tell us anything.

0 Kudos
Message 2 of 5
(7,209 Views)

I tried multiple things and I am still getting the same error.

The last thing that I tried was below. When I am trying (http) the code is not giving me the error. But I am getting the error with https. 

 

LV2020_0-1612150643844.png

 

0 Kudos
Message 3 of 5
(7,199 Views)

Again, a picture tells us nothing. Upload your VI.

0 Kudos
Message 4 of 5
(7,144 Views)

I think I was able to solve the error message. 

Basically from my understanding, if I setup 'open' vi to False, it will not check for the website whether it's restricted or not, so the 'https' will pass. Please see attached VI.

Basically, what I am trying to do is creating an application that interacts with web browser ( enter username and password, click buttons, upload files, and so on). if you have good examples to show how interact with web browser, or which functions do I need to use, it will be great.

 

Thanks

0 Kudos
Message 5 of 5
(7,121 Views)