X-Http-Method-Override

X-Http-Method-Override

[1] Platform API Reference | Heroku Dev Center ( ( 版)) <https://devcenter.heroku.com/articles/platform-api-reference#method-override>

[2] Platform API Reference | Heroku Dev Center ( 版) <https://devcenter.heroku.com/articles/platform-api-reference#method-override>

When using a client that does not support all of the methods, you can override by using a POST and setting the X-Http-Method-Override header to the desired methed. For instance, to do a PATCH request, do a POST with header X-Http-Method-Override: PATCH.

[3] エンドポイント - チャットワークAPIドキュメント ( 版) <http://developer.chatwork.com/ja/endpoints.html>

リソースの更新や削除にはPUTやDELETEメソッドを用いる必要がありますが、それらのメソッドに対応していないクライアントのため、URLのクエリストリングに ?method=PUT や ?method=DELETE と指定することで使用したいメソッドを明示することもできます。