Skip to content

HTTP POST request for sending a file to the server #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
shivangg opened this issue Apr 4, 2016 · 4 comments
Open

HTTP POST request for sending a file to the server #22

shivangg opened this issue Apr 4, 2016 · 4 comments

Comments

@shivangg
Copy link

shivangg commented Apr 4, 2016

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(); ?

@miclaus
Copy link

miclaus commented Apr 15, 2016

+1

@kasperkamperman
Copy link

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

@jtoy
Copy link

jtoy commented Nov 24, 2016

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

@jtoy
Copy link

jtoy commented Nov 24, 2016

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

post.addFile("param",full_path);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants