1 2 3 4 > >>   Sort: Date

'context.Request.Body' Request Body
How to access Request body from "context.Request.Body" object in Azure API Policy? Request body is the HTTP request body, which follows an empty line after request headers. You can access Request body from "context.Request.Body" object in any policy statements. This "context.Request.Body" object is ...
2018-01-24, 20410🔥, 0💬

'context.Request.Url.Query' Query String Parameters
How to access Query String parameters from "context.Request.Url.Query" object in Azure API Policy? Query String parameters are parameters provided in the query string in the form of name=value&name=value. ..format. For example, the following URL has two query string parameters: "date" and "s...
2024-01-03, 14913🔥, 1💬

💬 2024-01-03 BOB: something meaningful

'set-body' Azure API Policy Statement
How to use the "set-body" Policy Statement for an Azure API service operation? The "set-body" Policy Statement can be used to reset the body of the request when calling the backend service or the body of the response when returning response to the client system. The "set-body" Policy Statement can b...
2023-02-09, 14591🔥, 2💬

💬 2023-02-09 RAMESH: Ramesh

Dump Everything from 'context.Request'
How to build a test service operation to dump everything from the "context.Request" object in the response in Azure API Policy? If you want to build a test service operation to dump everything from the request to the response with an Azure API policy, you can follow this tutorial: 1. Go to the publi...
2018-01-24, 12443🔥, 0💬

'context.Request.MatchedParameters' URL Template Parameters
How to access URL template parameters from "context.Request.MatchedParame ters"object in Azure API Policy? URL template parameters are parameters used in the URL defined in the URL template: For example, the following URL template contains two template parameters, "cid", "oid" and "date": /customers...
2018-02-14, 10212🔥, 0💬

'set-variable' Statement to Create Custom Variables
How to use the "set-variable" Policy Statement to create custom variables for an Azure API service operation? The "set-variable" policy statement allows you to create custom variables with given values to be used later in other policy statements. The "set-variable" statement has the following syntax...
2018-01-24, 9872🔥, 0💬

Microsoft Azure API Management Tutorials
Where to find tutorials on Microsoft Azure services? Here is a large collection of tutorials to answer many frequently asked questions compiled by FYIcenter.com team about Microsoft Azure services: API Management Services at Azure Portal What Is Azure API Management Service Azure API Management - Pu...
2022-08-26, 7892🔥, 0💬

'forward-request' Policy Statement
How to use the "forward-request" Policy Statement to call the backend service for an Azure API service operation? The "forward-request" Policy Statement allows you to call the backend service, using information provided in the "context.Request" object. The "forward-request" Statement has the followi...
2018-01-16, 7049🔥, 0💬

'rewrite-uri' Policy Statement
How to use the "rewrite-uri" Policy Statement for an Azure API service operation? The "rewrite-uri" Policy Statement is actually doing the same work as the operation setting "Rewrite URL template". For example, if you create an API operation with the following settings: HTTP verb: POST URL template:...
2018-01-16, 6711🔥, 0💬

'set-backend-service' Policy Statement
How to use the "set-backend-service" Policy Statement for an Azure API service operation? The "set-backend-service" Policy Statement is actually overriding the API setting "Web service URL" to specify the backend service base URL. For example, if you create an API with the following settings: FYIcen...
2017-12-04, 6056🔥, 0💬

'xml-to-json' Policy Statement
How to use "xml-to-json" Azure API Policy Statement? The "xml-to-json" Policy Statement allows you to convert the body of the inbound request or outbound response from XML format to JSON format. For example, the following "xml-to-json" policy statement converts the outbound response from XML format ...
2021-10-02, 5992🔥, 2💬

💬 2021-10-02 FYIcenter.com: @Joe, just follow "Edit API Operation Policy" tutorial, and enter the above code into the policy file.

💬 2021-09-28 Joe D: Do you have any examples of how you would use this? I am really lost on how to implement this.

'json-to-xml' Azure API Policy Statement
How to use "json-to-xml" Azure API Policy Statement? The "json-to-xml" Policy Statement allows you to convert the body of the inbound request or outbound response from JSON format to XML format. For example, the following "json-to-xml" policy statement converts the output response from JSON format t...
2023-04-25, 5857🔥, 2💬

💬 2023-04-23 FYIcenter.com: @lynette, maybe you can add an 'xsl-transform' statement to convert the <document> element something else.

💬 2023-04-19 lynette temple: what do i do if i dont need the <document> element?

'find-and-replace' Policy Statement
How to use the "find-and-replace" Policy Statement for an Azure API service operation? The "find-and-replace" Policy Statement allows you to find and replace a sub string in the request body or response body. For example, the following inbound policy will replace "$id" by the template parameter "id"...
2018-01-19, 4676🔥, 0💬

'{{...}}' Liquid Codes in 'set-body' Policy Statement
How to use "{{...}}" Liquid Codes in "set-body" Policy Statement? The "{{...}}" Liquid Codes in "set-body" Policy Statement allows you to insert object properties of the original request in JSON format and object properties of the built-in "context" object. For example, the following "set-body" buil...
2017-12-04, 4652🔥, 0💬

What Is Azure API Management Service
What Is Azure API Management Service? Azure API Management as a turnkey solution for publishing APIs to external and internal customers. Quickly create consistent and modern API gateways for existing back-end services hosted anywhere, secure and protect them from abuse and overuse, and get insights ...
2018-10-30, 4414🔥, 0💬

Add API Operation Request Body Examples
How to add request body examples to my Azure API operation to make it more user friendly? If you have created the "First API" API and "Add new user" operation as described in previous tutorials, you can follow this tutorial to add request body examples. 1. Go to the publisher dashboard of the API Ma...
2018-03-28, 4231🔥, 0💬

Azure API Management - Developer Portal
What is Azure API Management Developer Portal? Azure API Management Developer Portal is an Azure Web portal that allows your developers of client applications to learn and run tests on your API services. Once you have signed up for an Azure API Management Service, you will be given an API Management...
2018-10-30, 4197🔥, 0💬

Azure API Management - Gateway
What is Azure API Management Gateway? Azure API Management Gateway is the Azure Web server that service your API services. Once you have signed up for an Azure API Management Service, you will be given a URL that represents the API Gateway: https://your-api-management-se rvice-name.azure-api.netWhen...
2018-10-30, 4172🔥, 0💬

Add Request Query String Parameters
How to add request query string Parameters to my Azure API operation to make it more user friendly? If your API operation uses URL template parameters, the client system must call it with parameter values specified in the correct position, like: https://.../exchange-rate/USD/ EUR/2020-10-10The above...
2018-03-24, 4164🔥, 0💬

'send-one-way-request' Policy Statement
How to use the "send-one-way-request" Policy statement to call an extra web service for an Azure API service operation? The "send-one-way-request" Policy Statement allows you to call an extra web service. The "send-request" statement has the following syntax: <send-request mode="new|copy"&...
2018-01-13, 3997🔥, 0💬

'xsl-transform' Azure API Policy Statement
How to use "xsl-transform" Azure API Policy Statement? The "xsl-transform" Policy Statement allows you to apply an XSL transformation to XML in the body of the inbound request or outbound response. The "xsl-transform" Policy Statement uses the following syntax: <xsl-transform> <...
2017-12-04, 3961🔥, 0💬

'return-response' Policy Statement
How to use the "return-response" Policy statement to build the response from scratch for an Azure API service operation? The "return-response" Policy Statement allows you to stop the Azure API processing immediately and return with the given response. The "forward-request" statement can be used in t...
2018-01-13, 3873🔥, 0💬

Add Request URL Template Parameters - 2017 Version
How to add request URL Template Parameters to my Azure API operation 2017 version to make it more user friendly? If your API Operation requires some key parameters, you put them as template parameters in the URL template of the operation. Using template parameters reduces the need for providing para...
2018-06-12, 3831🔥, 0💬

Create a New API on Publisher Dashboard
How to create a new API on the Publisher Dashboard of an Azure API Management Service? If you are new to the Publisher Dashboard of an Azure API Management Service, you can follow this tutorial to a new API. 1. Log in to the Publisher Dashboard as shown in the previous tutorial. 2. Click APIs from t...
2018-04-21, 3756🔥, 0💬

1 2 3 4 > >>   Sort: Date