Questions tagged [apim]
230 questions
1
vote
1 answer
How to define array variable in APIM Policy
I want to store multiple value in policy in APIM.
Is there any option to define array variable or converting string to string[].

vinod rawool
- 23
- 1
- 4
1
vote
0 answers
Error when connecting API Manager with Business Process Server (BPM)
I'm trying to connect API Manager with Business Process Server (BPM),
my script is : when user trying to signup he/she must get approval from admin before registration.
my current code : user signup directly without permission or approval from admin…

Asma Alghamdi
- 71
- 8
1
vote
1 answer
How to decode URL in APIM policy
I want to decode the query parameters in the URL.
I am passing query parameter value as
"somevalue%"
but when i am fetching the value of parameter it is showing like
"somevalue%25"
I want value as "somevalue%" only.
Currently I am using Replace ,…

vinod rawool
- 23
- 1
- 4
1
vote
1 answer
HTTP/1.1 411 Length Required on REST API Post call from Azure API Management Service
curl -kvs -X POST https://xxxx-xxxx.azure-api.net/*******/reports -k -H "account: ********" -H "Ocp-Apim-Subscription-Key: ***********"
on making this curl, i'm getting the error message as HTTP/1.1 411 Length Required.
I know we can fix this by…

samridhi gupta
- 23
- 1
- 5
1
vote
1 answer
Azure APIM | Liquid Template - Transform JSON to XML without an Integration Account
I'm building a Logic App to pull data from my on-premise SQL database -> transform it into XML -> Send it through to SOAP API.
Here's the example data what I'm getting into Logic App from my on-premise database:
{
"ResultSets": {
…

Victor McIntyre
- 93
- 1
- 10
1
vote
1 answer
Error adding a JWT inbound policy: Error in element 'validate-jwt':Certificate '' could not be resolved
When using Azure APIM to add a inbound policy to verify a JWT, the config editor throws the following error:
One or more fields contain incorrect values: Error in element 'validate-jwt' on line 16, column 10: Certificate '' could not be resolved.
I…

zXynK
- 1,101
- 16
- 30
1
vote
1 answer
APIM named values create/update through powershell/cli
is there a way we can create or update apim named values through power-shell or azure cli.
i tried searching the Microsoft documents i was not able to get anything related.
is there any command let , im trying to create new named values or update…

padmasree
- 121
- 2
- 3
1
vote
1 answer
Parse json Fails for Azure API Management subscription data
I run post to get API Management subscription data but can't parse the returned json and can't find what further filtering on the returned string is required.
Postman shows json just fine. Other APIM REST requests parse json just fine.
Can someone…

Sergio Solorzano
- 476
- 9
- 29
1
vote
1 answer
How can I disable gzip compression on requests going through APIM?
We have an Azure Api Management instance behind a Cloudflare firewall.
Recently we got a report of a client getting an error on a POST to the backend API.
It turned out issue was that the request was compressed (content-encoding gzip) and as the…

Jean-Paul Smit
- 300
- 4
- 17
1
vote
1 answer
How to set Proxy Auto Config (PAC) file in WSO2 API Manager
I am using WSO2 API Manager
How to set Proxy Auto Config (PAC) file in axi2.xml?

Maria
- 21
- 1
1
vote
1 answer
Error creating JSON PayLoad with PayLoadFactory format inline
I am using WSO2 API Manager 3.1.0 and need to access a REST endpont in the IN sequence of one an API.
I am trying to create a JSON payload with PayloadFactory mediator in inline format.
…

Maria
- 21
- 1
1
vote
1 answer
Set up a CI/CD pipeline for Azure API Management (APIM)
I'm looking for a straightforward and maintanable way to set up a CI/CD pipeline for Azure API Management.
Let's say, for each release, I can automatically generate the OpenAPI spec from the code. How can I build on this OpenApi spec to set up…

Ehsan Mirsaeedi
- 6,924
- 1
- 41
- 46
1
vote
2 answers
Getting tags associated with an API in Azure API Management
Is there a way to get tags that are associated with an API through Powershell?
The Get-AzApiManagementApi command returns the list of APIs, but tags are not included in its response.

Ehsan Mirsaeedi
- 6,924
- 1
- 41
- 46
1
vote
1 answer
How to Create a Powershell Script to Create Azure API Management Resource
I am trying to figure out how to create an API Management resource and an API Management API from a script. I believe there are two options:
.
Use the powershell Management api from AzureRm.ApiManagement
To do this I believe the two commands to…

JackSojourn
- 324
- 2
- 15
1
vote
1 answer
JWT Enrichment with external rest service
I am working with WSO2, and I need to enrich the JWT Token for every request.
The enrichment need to be done done by an external rest service.
We are using WSO2 2.2
I am trying to enrich the JWT by extending the class…

doron marcus
- 11
- 1