Get the latest tech news

The HTTP Query Method


This specification defines a new HTTP method, QUERY, as a safe, idempotent request method that can carry request content.

This variation, however, suffers from the same basic limitation as GET in that it is not readily apparent -- absent specific knowledge of the resource and server to which the request is being sent -- that a safe, idempotent query is being performed. A successful response to a QUERY request can include a Content-Location header field (see Section 8.7 of [ HTTP]) containing an identifier for a resource corresponding to the results of the operation. This represents a claim from the server that a client can send a GET request for the indicated URI to retrieve the results of the query operation just performed.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of HTTP Query Method

HTTP Query Method