QUERY with curl

Domain: daniel.haxx.se Shared: | Tags: daniel-stenberg webdev

Daniel Stenberg explains how the new HTTP method QUERY works with curl and what it does. They seem like idempotent POST requests or as described by Daniel:

For all practical purposes you can think of QUERY as a way to send a GET with a body. It looks exactly like POST, but done with another verb.

The specification, RFC 10008, gives an example of using QUERY over GET when the approaching the URI size limits of the sever or when encoding the content becomes efficient among other reasons.

Read from link