By tezz995
I have written an android app that uploads files using http post requests (multipart form). I have tested the app using requestbin.in and the files do seem to be “uploading”.
Now what I want to do is create a url (preferable serverip/upload) which my http post requests will be sent to. The server needs to accept the requests and save the files into a specified folder.
I am very new to this stuff, so some form of help would be very much appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You set up a Webpage that you can upload files from clients device to your server using HTTP post requests?
Here is an example of a post request: www.mywebsite.com?myfile=profilepicture.png
It just identical to GET request but the GET and POST are just the methods being used to send the data.
POST request method requests that a web server accept and store the data enclosed in the body of the request message. It is often used when uploading a file or when submitting a completed web form.
Also Its best to work on Server Side aspect before the Client Side aspect… Server will be how it functions… Client side is more about how it looks and tools to use.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.