Azure API management is not validating case sensitive

Yuvaraj Madheswaran 390 Reputation points
2023-07-01T12:24:17.27+00:00

Hi,

We have configured the Azure API management with sample url as,

https://api.test.application.com/customAppl/customer

Here, APIM is not case sensitive which is allowing the below url to access the resources,

https://api.test.application.com/customappl/customer

Is this expected behavior? Does it need to be case sensitive and reject or throw exception as resource not found?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,266 questions
{count} votes

Accepted answer
  1. navba-MSFT 27,340 Reputation points Microsoft Employee
    2023-07-03T03:39:30.0733333+00:00

    @Yuvaraj Madheswaran Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    I see that you want to know if the url path for the APIM is case sensitive or not.

    The url path (API URL Suffix) is not case sensitive. Meaning both customAppl and customappl will be reaching the same API in APIM.

    I have done a repro at my end too. You can see the API URL Suffix echoAppl and echoappl being used.

    User's image

    I tried accessing it with both echoAppl and echoappl and it worked fine since it hit the same API in APIM. So it is not case sensitive.

    Hope this helps.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.