Re: Question regarding RFC 7230

On 2017-01-08 03:51, Hartford, Eric wrote:
>> It would be helpful if you explained what you're looking for. A safe
> method that allows a request body, so data doesn't need to be sent as
> part of the URI?
>
> Yes, as in a RESTful API, GET method is used for the concept of entity
> retrieval, and if the parameters of the retrieve query are complex
> enough it is unwieldy to use the path or query parameters of the URI,
> and it becomes more appropriate to use the content body of the request.
>  (Think database queries.) Yes I "can" just use a POST but conceptually
> my operation is a retrieval and I would like to be able to use a GET for
> a retrieval operation.

This comes up every few months. I personally agree that we should do 
something about it. Latest effort was 
<https://tools.ietf.org/html/draft-snell-search-method-00>.

Best regards, Julian

Received on Sunday, 8 January 2017 07:26:24 UTC