LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 405 (Method Not Found (HTTP) Client

 

I am trying to authenticate to a strict website (https) using get from http client palette, but I am getting Error 405 method not allowed. I am trying to enter the  user name and the password, then click sign on. 

Thanks

 

image.pngimage.png

 

Thanks,

Sally

0 Kudos
Message 1 of 5
(2,242 Views)

@SallyAppliedMedical wrote:

 

I am trying to authenticate to a strict website (https) using get from http client palette, but I am getting Error 405 method not allowed. I am trying to enter the  user name and the password, then click sign on. 

Thanks

 

image.pngimage.png

 

Thanks,

Sally


That's because according to the picture you are using a PUT and not a GET as you claim.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 5
(2,195 Views)

I tired get before and was able to authenticate, but the issue is how I would login to the website. The inputs (username and password) on open method, does not seems to work. Any suggestions? 

0 Kudos
Message 3 of 5
(2,175 Views)

Is there away to login to a web page using HTTP Client VIs Palette?

if so, can you please provide me with a written VI as an example. I am trying to use POST VI.

 

Thanks,

Sally 

0 Kudos
Message 4 of 5
(2,167 Views)

The problem is that there is not a single way how login is handled. What you see in a webform normally would have to be implemented by you by requesting that webform and parsing it to find out where the according fields are, fill in your values and then you send that form back.

 

WebServices often encode it in the URL as parameters and some sites allow to pass the relevant information also in header fields but there is not a standardized way how this should be done either. What the HTTP VIs support in terms of login capability is mostly tailored to the use with LabVIEW web services on the other side of the connection and even uses NI specific certificate methods that won’t work with your normal web sites.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 5 of 5
(2,144 Views)