- http
- Content-Type(such as
application/jsonorapplication/x-www-form-urlencoded) does not mater as long as the key-value things is correct - multipart post to reduce overhead and upload multiple images in one http request, here is more detail about multipart form data on stackoverflow.
- base64 encoding or raw binary
HTTP uses keep-alive connection to achieve multiple requests over single TCP connection resource. For more explaination, please refer to this.
http://localhost/image123.jpg?size=640 as in web_uploader of picasa