Questions tagged [apim]

230 questions
2
votes
3 answers

Azure APIM sleep or delay policy

is there a sleep policy or any alternative in azure apim so that i can delay for 5 seconds to particular response?enter image description here In the attached image i need to give 5 seconds of delay or sleep condition to the highlighted condition.
2
votes
1 answer

Can I use management azure api for Azure APIM analytics

I want to use the below API to compute Azure APIM analytics and customize the output of it. But Microsoft document does not cover the API. Can I use this API or I am missing something. My concerns is how do I know if Microsoft internally change…
zile
  • 109
  • 11
2
votes
1 answer

How to implement Oauth2 without sending client_secret in WSO2 APIM

I want to get access token without submiting Base64(client_id:client_secret) in the request. I just want to submit the client_id and username and password (Password Grant Type) : public passoword grant type It's called public scheme by IBM. Please…
tom johnes
  • 387
  • 1
  • 3
  • 12
2
votes
2 answers

How to correctly set APIM Store in a distributed setup with apache front-end?

Scenario of WSO2 APIM 2.6.0: 1 VM for API Publisher -> Front-END: https://mgt.mydomain (manager of gateways workers) 1 VM for API Store -> Front-END: https://store.mydomain 1 VM for Traffic Manager -> Front-END:…
ChelloFera
  • 349
  • 1
  • 3
  • 16
1
vote
1 answer

Azure API Management Rate Limit By Json Request Body

I want to rate lime based on the mailTo attribute from the request body. Here is the APIM policy Here is the…
Alpesh
  • 15
  • 4
1
vote
0 answers

Azure APIM Mock Response not showing headers in Response

I have a mock response with these headers and content this is the content of my policy but when I test it, it does not include headers This is what I see in the trace How can I include these headers in the response?
Ali
  • 1,015
  • 14
  • 40
1
vote
1 answer

APIM : Subscriptions required only 1 operation in under same API where other Operation does not required

I have Scenario under APIM policy where I have a API but few Operation required Subscriptions-Key but few does not required so under one API both the option is possible? In the below screenshot only **GetStations **Operation required…
Singh Aswal
  • 379
  • 2
  • 6
1
vote
1 answer

Why am I getting a 'blocked by CORS policy' error when making requests to my .NET Azure Function from a React Azure Static Web App?

I am working on a web application with front-end in react(azure static web app) and backend in dotnet(deployed as azure function). I am facing CORS errors: Access to XMLHttpRequest at '/limitMasterDetails/segmentLimit' from origin…
1
vote
2 answers

how to check null header values in apim and throw error response back

I want to check if the specific header contains null values if the value is null then throw error bad request how to achive this functionality in apim
kushma gonna
  • 236
  • 3
  • 19
1
vote
1 answer

APIM Azure - Get named value dynamicaly through a received variable

I'm trying to do the following: I have an API in APIM that receives an certain header with a key that is set in a APIM named value. For example: http://apimSomeUrl.com/apiName/whatever request header: "country" with the value "bolivia" through a…
fuk5ia
  • 11
  • 2
1
vote
1 answer

Azure APIM Multipart Upload

I am trying to bulk upload files via APIM to azure storage account. In local, I am able to upload the files to azure storage account using REST API. but, through APIM I am unable to upload the files. I am getting 401 error. can you show me which…
1
vote
0 answers

azure bicep create multiple api products and link them

in my main.bicep I have the following call to a module to create api-resources : module apiModule './api.bicep' = { name: 'apiDefinition' params: { apiName: 'myapiName' products: ['product1','product2'] } } in the api.bicep I…
David
  • 15
  • 3
1
vote
2 answers

Unable to set body & return response in APIM policies, getting 500 error

I am using this code for azure APIM policies
Shree
  • 59
  • 6
1
vote
1 answer

How can I import azure function app to apim in terraform?

I got question is there a way to import azure funtion app to api managment api using terraform. https://learn.microsoft.com/en-us/azure/api-management/import-function-app-as-api below is link to terraform resource but I do not see funtion app in…
tebe20
  • 11
  • 2
1
vote
1 answer

How to add RegEx validations in Azure API Management Policy Expression

I need to add a RegEx validation for email in my Azure API Management Policy expression but there is no proper documentation available. Is it possible to have RegEx validation in Azure APIM?
Ansh
  • 23
  • 3
1
2
3
15 16