HTTP-Requests-for-Processing icon indicating copy to clipboard operation
HTTP-Requests-for-Processing copied to clipboard

HTTP POST request for sending a file to the server

Open shivangg opened this issue 9 years ago • 4 comments

How do I go about posting a file (eg. a picture) using POST request from this library. How to write the file data on the server(as we did with server.write(filedata);)? What headers to explicitely include using addHeader(); ?

shivangg avatar Apr 04 '16 15:04 shivangg

+1

miclaus avatar Apr 15 '16 19:04 miclaus

Would be nice. However if you need this, check also the PostToWeb library: http://libraries.seltar.org/postToWeb/ This works fine.

kasperkamperman avatar Jun 16 '16 14:06 kasperkamperman

+1 does this library support files? doesnt seem like it.

jtoy avatar Nov 24 '16 16:11 jtoy

it does support it, i think the documentation needs to be cleaned up:

post.addFile("param",full_path);

jtoy avatar Nov 24 '16 16:11 jtoy