Is there a way (policy or otherwise) to change or override the operation name of incoming request to Azure API management. Currently request send by one of our API client is failing because client send 'delete' request instead of 'DELETE'. While creating an API, APIM gives me an option to select operation name from the list of operations (POST, PUT, DELETE) which are upper case words and it does not understand lower case 'delete', which is what client is sending.
0
votes
1 Answers
0
votes
APIM allows you to type in custom HTTP methods, and since they're case sensitive, there should be no problem defining two operations, one with DELETE method, and one with Delete.
UI at the moment does not allow you to specify "Delete" as method. But you can use API to do just that: https://docs.microsoft.com/en-us/rest/api/apimanagement/2019-01-01/apioperation/createorupdate And APIM runtime will treat is properly.