api/rest.rst gives an example of how to POST parameters to the PatchDetail
view at api/patches/<patch_id>. However, the endpoint in question doesn't
support POST - you need to use PUT or PATCH. Change it to PATCH.
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Stephen Finucane <stephen@that.guru>
.. code-block:: shell
- $ curl -X POST -F 'state=under-review' \
+ $ curl -X PATCH -F 'state=under-review' \
'https://patchwork.example.com/api/patches/123'
Authentication