How to set the same Request URL for the different api operation?

Deshmukh, Vijit 516 Reputation points
2023-01-25T15:37:19.8266667+00:00

Hi Team,

We want to set the same request URL for the different api operation in azure APIM.

while implementing it, we get the below error.

User's image

Please guide on this.

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

2 answers

Sort by: Most helpful
  1. Sujithreddy Komma 581 Reputation points Microsoft Employee
    2023-01-25T18:19:36.5766667+00:00

    Error you are getting Same url for 2 different Operations. in your case it is saying the same that URL already is taken by some other api or operation

    you might need to change the API Suffix on the API level or URL at the operation level or method or somehow use a wild card
    image


  2. Mike Urnun 9,821 Reputation points Microsoft Employee
    2023-02-02T21:04:56.2333333+00:00

    Hello @Deshmukh, Vijit - You should be able to set the same request URL with different request Methods. I see that you have the API operations filtered by "demo" in the search field, could you list out all existing operations and verify there isn't another operation with the same URL and Method?


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.