LabVIEW Web Development Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview POST, PUT HTTP method

Solved!
Go to solution

Hi MilanR, I'm trying to create a LabVIEW HTTP AddHeader VI ,There isn't a head of postman.Where is it? Thanks.

0 Kudos
Message 11 of 30
(10,715 Views)

Hi mybook.

AddHeader.png

 

 

 

 

 

Does that answer your question?



Matthias Baudot | Software Architect | Founder at STUDIO BODs


STUDIO BODs     BLT for LabVIEW     LabVIEW Champion     Certified Professional Instructor     DQMH Trusted Advisor     GCentral Sponsor


 Check out my LabVIEW presentations and videos!

Message 12 of 30
(10,706 Views)

Thank you very much!

0 Kudos
Message 13 of 30
(10,699 Views)

Hi MilanR, 

photo attached showed the manual sending using RESTClient (set method, URL, header and body) and it will response. Do you have any idea to perform this using LabView VI ? thanks for your help. 

0 Kudos
Message 14 of 30
(10,389 Views)

Hi Shengko,

 

The screenshot you shared seems to be including a request body in the HTTP GET. If it is necessary to do an HTTP GET with a request body you will not be able to use the HTTP GET in the LabVIEW HTTP Client. You can see the the LabVIEW HTTP Client GET VI documentation that the VI does not take body as an input.

 

If you can instead use an HTTP Method that does include a request body, such as LabVIEW HTTP Client POST VI, then you can perform the request with a body. The example above shows how to include a body in a POST request and how to add headers.


Milan
0 Kudos
Message 15 of 30
(10,361 Views)

Hi Milan, 

thanks for your response. 

Sorry for wrong info given. Yes, I'm using post method in RESTCLient and the response as photo RESTClient.JPG. 

But when i convert it into LabView, its showed as error59 as photo LabView.JPG. 

Do you have any idea on this error message ? 

thanks again. 

Download All
0 Kudos
Message 16 of 30
(10,349 Views)

Hi shengko,

 

Searching for the error code 363507 results in the following KnowledgeBase article: Error 363507 When Using SSL Enabled LabVIEW Web Services

 

The KnowledgeBase gives a couple of options to try. If you attempt those options and still have issues make sure reply with what you tried and what the results were.


Milan
0 Kudos
Message 17 of 30
(10,326 Views)

Noted. Thanks Milan. 

0 Kudos
Message 18 of 30
(10,218 Views)

Hi,Have you sloved this problem?  I have a same problem now. I need to send message to a web server. The example of the url and json string as Post example.JPG. And I have tried to use labview as POST example.jpg

0 Kudos
Message 19 of 30
(9,904 Views)

if i may ask how is this possible ?

 

"Are you trying to create a LabVIEW Web Service that is capable of listening to and responding to HTTP Post messages"

 

can help please, this is what im trying to do

0 Kudos
Message 20 of 30
(9,614 Views)