Author : MD TAREQ HASSAN | Updated : 2020/11/24
Operation in APIM
- Operations: An endpoint that is accessible from browser or HTTP request in APIM i.e.
https://hovermind.com/all-pages
- Operations in API Management are highly configurable, with control over URL mapping, query and path parameters, request and response content, and operation response caching
Adding operation to API
- Go to resource groups: https://portal.azure.com/#blade/HubsExtension/BrowseResourceGroups
- Select resource group > API Management service
- APIs section > APIs
- Select target API > Add operation
- Fillup details (if needed, add query parameter, responses etc.)
- Save
Http Bin:
- Use http://httpbin.org for testing APIs
- Go to: http://httpbin.org/get and get sample json
Editing operation
- Go to resource groups: https://portal.azure.com/#blade/HubsExtension/BrowseResourceGroups
- Select resource group > API Management service
- APIs section > APIs
- Select target API > Select target operation
- Click pencil icon to edit frontend and backend
- Click
</>
icon to edit policies
Testing
- Go to resource groups: https://portal.azure.com/#blade/HubsExtension/BrowseResourceGroups
- Select resource group > API Management service
- APIs section > APIs
- Select target API > Select target operation
- Test tab > Set query parameter if needed
- Send
Policies
See: Adding policies