Search code examples
wso2wso2-api-managercase-sensitiveapi-manager

Disable Case sensitive URLs for wso2 am


I created an api in wso2 api manager 2.0 publisher. When I publish this api, I have some resource /Some/things In the wso2 store. If I keep the case as is in the URL, then my api works. If I use any other tool to call and change the case in url to then I get a 202 error.
I know the WSO2 API Manager is handling the API URL correctly but i want to disable these feature.
how can i do this??


Solution

  • There is no option to disable case-sensitive in api manager. But you can rewrite the request url by any reverse proxy and send the request to apim. e.g nginx url redirect[1]

    [1] https://www.nginx.com/blog/creating-nginx-rewrite-rules/