Go Down

Topic: HTTP POST for multiple parameters in body using SIM900 and Arduino (Read 34 times) previous topic - next topic

iPankaj

Hi all,
I have been working on a project using Arduino and SIM900A, which uses HTTP POST request to post 8*8 pixel data ( = array of 64 data) to a Server .

But while uploading with multiple parameters, i am getting one error after  "content- disposition:  ..." line.
I couldn't figure out what could be the reason for that because the same format is working for single parameter.

please look at the Serial monitor output ( Error) and guide me with this.


Quote
Quote
AT+HTTPPARA="CONTENT","multipart/form-data; boundary=----------AT+HTTPDATA=192,40000
Quote
DOWNLOAD
Quote
OK
Quote
Content-Disposition: form-data; name="color"
Quote
ERROR
Quote
Content-Type: text/plain
Quote
30.25 30.75 30.75 31.25 30.25 30.50 30.50 33.00 30.25 
Quote
---------------------------acebdf13572468--

Go Up