Payloads of HTTP Request Methods

Here is the summary from RFC 7231, an updated version of the link @Darrel posted:

  • HEAD – No defined body semantics.
  • GET – No defined body semantics.
  • PUT – Body supported.
  • POST – Body supported.
  • DELETE – No defined body semantics.
  • TRACE – Body not supported.
  • OPTIONS – Body supported but no semantics on usage (maybe in the future).
  • CONNECT – No defined body semantics

As @John also mentioned, all request methods support query strings in the URL (one notable exception might be OPTIONS which only seems to be useful [in my tests] if the URL is HOST/*).

I haven’t tested the CONNECT and PATCH methods since I have no interest in them ATM.

Leave a Comment