Search code examples
httpput

HTTP POST vs HTTP PUT


Does HTTP PUT have advantages over HTTP POST, particularly for File Uploads? Data transfer should be highly secure. Your ideas / guidance on this will be of great help.


Solution

  • Does HTTP PUT have advantages over HTTP POST, particularly for File Uploads?

    You can use standard tools for sending the data (i.e. ones that don't have to be aware of your custom scheme for describing where the file should be uploaded to or how to represent that file). For example, OpenOffice.org includes WebDAV support.

    Data transfer should be highly secure

    The method you use has nothing to do with that. For security use SSL in combination with some form of authentication and authorization.