What is the best way to post data from web browser to server?
- by Kronass
Hi,
I want to know what is the best way to send data from web browser to server using post method.
I've seen a practice where they wrap all the elements data in XML, convert it into Base64 string and then post it to the server (via Ajax or hidden field).
this way will not work if the Javascript is disabled, any how if I ignored this.
is it a good practice to wrap elements into XML (or create my custom wrapper in general) and post them to server saying it will enhance the maintainability of the code or just
stick with the classical way and no need to add unnecessary text in the post.