I don't have any opinion on the matter, but a datapoint to the popularity
of PATCH is its use in the GitHub API:


GitHub is often looked to as a gold standard for how to write a REST API,
so if they do it, it's likely that many others do too.

On 7 March 2018 at 05:40, Chris Hegarty <chris.hega...@oracle.com> wrote:

> Hi Andrej,
> On 02/03/18 08:28, Andrej Golovnin wrote:
>> Hi all,
>> it would be nice if could add PATCH
>> (https://tools.ietf.org/html/rfc5789) to the list of the supported
>> ...
>> - and one for the HTTP Client branch in the JDK sandbox repository
>> which adds PATCH to the HttpRequest builder:
>>    java_net_http_HttpRequest_PATCH_method.diff
> The JDK HTTP Client has:
>   `HttpRequest.Builder::method(String method, BodyPublisher publisher)`
>  ,so it is currently possible to use the `PATCH` method.
> Is `PATCH` sufficiently popular to warrant its own self-named
> method in the request builder?
> -Chris.

*James Roper*
*Senior Octonaut*

Lightbend <https://www.lightbend.com/> – Build reactive apps!
Twitter: @jroper <https://twitter.com/jroper>

Reply via email to