LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the difference between HTTP POST and PUT method?

Hello everyone.

 

Due to my previous post https://forums.ni.com/t5/LabVIEW/Same-switch-but-different-programs/m-p/3925587

 

Now my web application (BL1.1W Web Application NXG\WebApp.gcomp\Function_4.gviweb) is using the HTTP POST method to send the value back to the shared variable. But when I press the pause/resume button from the web application, the dummy program doesn't change accordingly. What I want is when I press the pause/resume button from one program. Another program will update the settings accordingly.

 

I want to know how the difference between HTTP POST and PUT method. In this case, what should I use?

 

Thank you in advance.

0 Kudos
Message 1 of 3
(2,061 Views)

https://restfulapi.net/http-methods/

 

POST to create.  PUT to update

0 Kudos
Message 2 of 3
(2,048 Views)

Thank you so much for answering me.

 

I'm a beginner for LabVIEW. Do you have a sample to use HTTP PUT method?

0 Kudos
Message 3 of 3
(2,023 Views)