Sunday, September 25, 2011

Http explained 3

As I mentioned before, only way to send some data to server using method get - is params, concatenated with file address. And there is limitation in data size. That's a 2K characters. Sometimes that's not enough...
For uploading data bigger, it's used method post. There is two ways of using method post: application/x-www-form-urlencoded and multipart/form-data. Those two ways share same basic principles.  Message is made up form file address, headers followed by posted data.

No comments:

Post a Comment