LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP POST and GET Requests with LabVIEW

All,

What i'm trying to achieve is reproducing the XML-RPC protocol in LabVIEW (this is an extremely simple protocol ontop of HTTP.) If anyone can give me an example of sending an HTTP post and/or get request in LabVIEW i'd love to see it. Any help is appreciated.

Regards,
Ken
0 Kudos
Message 1 of 5
(6,475 Views)
This is too simple to make an example.

Use TCP/IP Open to open a connection.
Use TCP/IP Write to write the request.
Use TCP/IP Read to read the data.

Look at the TCP/IP examples for details.

Put the TCP/IP Read in a while loop, until you get an error (probably
"connection closed by peer" or something). Put "Connection: close" in the
HTTP Post header, so the connection will be closed by the server.

Regards,

Wiebe.



0 Kudos
Message 2 of 5
(6,457 Views)
I was wondering if anyone succeeded in communicating in XMLRPC through a TCP/IP connection in labview?
 
thanks in advance
0 Kudos
Message 3 of 5
(6,415 Views)
I am currently developing an XML/RPC client for LabVIEW.
0 Kudos
Message 4 of 5
(6,333 Views)
It would be great if you could let me know if you succeed en send me some information/you're program/client.
thanks in advance,
Karel
0 Kudos
Message 5 of 5
(6,321 Views)