LabVIEW Web Development Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

POST or POST Multipart: How to send multiple value pairs ?

Solved!
Go to solution

My goal is to post a couple of value pairs to my webserver's PHP page for parsing. For instance:

  • status = "online"
  • capacity = "87"
  • location = "a3DsU"

 

It works when I use "POST Multipart" method, but I can only input values on my Front Panel by hand. I do not know how to assemble the required input data manually so I just create a "constant" at the input line.

 

But if I use "POST" method (which requires a string as an input) I can only transmit 1 pair of values, everything else is regarded as the value after the "=" sign.

 

Can someone please give me some advice on how to do that?

Thank you

0 Kudos
Message 1 of 2
(3,068 Views)
Solution
Accepted by topic author mw42

I have solved it, DUH 😜

 

I just need to concatenate my strings with the "&" symbol

 

mw42_0-1574172171858.png

Output is this:

mw42_1-1574172211938.png

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