Backend API is single URL with different methods

Lily 116 Reputation points
2021-09-30T07:40:30.067+00:00

Hi experts,
I encounter a bunch of APIs like these and not sure what it the better way to map them to APIM.

Same url with different methods, and each of them have different parameters.

POST /customers
GET /customers
PUT /customers
DELETE /customers

136547-image.png

For above sample, it seems I can create 4 operations in APIM (create_customers, get_customers, update_customer, delete_customer)

But I'm not sure if this is a good practice for such scenario or any drawbacks will happen in the future.
Can you give me some hints ?

Thank you

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,230 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful