LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cURL Post Messages from Labview

Solved!
Go to solution

Hi friends,

 

i want to send the following message via the Labview Post VI:

 

curl --data "j2000=[2.0,3.0,0.0]" http://localhost:8090/api/main/viewhttp://localhost:8090/api/main/...

 

The message is working via the win10 command prompt window but not in Labview.

Here is the code snippet and the error message

http push.png

grafik.png

 

Greetings

 

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

The input to that VI is a URL and a buffer.

 

The HTTP post VI has nothing to do with cURL, which is a command line application that does the same as the VI.

0 Kudos
Message 2 of 3
(2,348 Views)
Solution
Accepted by topic author Andreas111

Wire the URL to the URL input.

Wire the data to the buffer input.

Message 3 of 3
(2,345 Views)