LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

POSTMultipart with a JPG?

Anyone have any experience posting a JPG with POSTMultipart?

I set the file to the path, the MIME to image/JPG, the call takes a few seconds and I get the header...

HTTP/1.1 400 Bad Request
X-Powered-By: Express
Content-Type: text/plain
Cache-Control: max-age=0, must-revalidate, no-cache, no-store
Expires: Thu, 01 Jan 1970 00:00:00
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, PUT, POST, DELETE
Content-Length: 7
Date: Tue, 05 Mar 2013 06:47:50 GMT
Connection: close

 

And the Body:

no url

0 Kudos
Message 1 of 2
(2,255 Views)

Hi Jed,


Can you please post your code for submitting this request? Are you able to post other types of files/text sucessfully to this server? Thanks


Doug W

Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,224 Views)