-
Feature Request
-
Resolution: Done
-
Blocker
-
1.2.2.Final
-
None
When attempting to invoke a PATCH request to a backend service via APIMAN, the API Gateway returns a 501 Not Implemented message.
It would be good to support the PATCH operation via the API gateway to support partial updates to REST API resources.
Request:
curl -X PATCH -H "Accept: application/json" -H "X-API-Key: 126f3aa4-647b-4535-93d9-475eca507d62" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Postman-Token: 47714cec-5514-cd5d-435e-32df36bf2e10" -d '{"patch":"true"}' "https://localhost:8443/apiman-gateway/testOrg/postman/1.1/patch"
Response:
<html> <head> <title>Error</title> </head> <body>Method PATCH is not defined in RFC 2068 and is not supported by the Servlet API </body> </html>
Interestingly, the gateway is returning HTML for an error that is warranting an application/json content type!