ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send a json string to an HTTP in labview

Hi,

I need to assing values to an HTTP site by sending a json string, I have been trying using the HTTP client PUT vi with no success, does anyone have an easy way of sending a json string to an HTTP site in labview thru the PUT method???

 

Thank you

0 Kudos
Message 1 of 3
(7,371 Views)

What have you tried?

 

This should work as a basic example:

POST_Snippet.png

 

If you have LabVIEW 2013 or newer, there are built-in VIs for encoding/decoding JSON strings to/from LabVIEW clusters.


LabVIEW Champion, CLA, CLED, CTD
(blog)
Message 2 of 3
(7,345 Views)
Can you show what you have tried?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(7,299 Views)