< 1 2 3 4 > >>   Sort: Rank

Using Azure API Policy
Where to find tutorials on Using API Policy with API Management Services at Azure Portal? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Using API Policy with API Management Services at Azure Portal: What Is Azure API Policy Edit API Operation...
2018-03-24, 278👍, 0💬

View Policy of an API Operation
How to View Policy of an API Operation? My API operation is not calling the backend service. If your API operation is not calling the backend service, you need to view the policy of the API operation to see why backend service is not called. 1. Go to the publisher dashboard of the API Management Ser...
2018-03-24, 269👍, 0💬

Add Request URL Template Parameters
How to add request URL Template Parameters to my Azure API operation 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 parameters in the...
2018-03-24, 267👍, 0💬

Top Level Policy for All Azure APIs
How to view and edit the top level policy for all Azure APIs? Be default, Azure automatically creates a top level policy for all APIs. In the top level policy, the "forward-request" policy statement is added in the "backend" section automatically forward client request to the backend service. But if...
2018-03-24, 265👍, 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, 248👍, 0💬

'trace' Policy Statement
How to use the "trace" Policy Statement for an Azure API service operation? The "trace" policy statement allows you to generate debugging messages into the API trace output. The "trace" statement can be used in any policy blocks in the policy XML document. The "trace" statement has the following syn...
2018-03-10, 293👍, 0💬

What Is Azure API Policy
What Is Azure API Policy? Azure API Policy is a set of plugin rules to be executed between Azure API and the backend service. Those plugin rules are written in Azure API policy statements in XML format. An Azure API policy contains two major blocks: 1. Inbound Policy - Policy statements to be execut...
2018-03-10, 270👍, 0💬

Edit API Operation Policy
What are steps to edit policy of an Azure API Operation? For each operation you created in your API, a default policy coded is added. If you want to view and edit policy statements to be executed between the Azure API and the backend service, you can follow this tutorial: 1. Go to the publisher dash...
2018-03-10, 264👍, 0💬

Azure API Policy XML Document Structure
What is the XML Document Structure of an Azure API service operation? Azure API Policy XML Document contains 4 policy blocks: "inbound" - Policy sub element to provide policy statements that controls the generation of the inbound HTTP request to be delivered to the backend service. "backend" - Polic...
2018-03-10, 260👍, 0💬

Policy Hierarchy and 'base' Statement
What are the relations among API policies defined at product level, API level, and operation level? Azure API Management allows you to define policies at 3 levels: Top Level policy - Policy defined at top level can be shared amount all APIs. You can use the "base" policy statement in the API policy ...
2018-03-10, 230👍, 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, 372👍, 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&amp;name=value. ..format. For example, the following URL has two query string parameters: "date" and "s...
2018-02-14, 348👍, 0💬

'@{...}' Expression Blocks in Azure API Policy
How to use the "@{...}" expression block in Azure API Policy? The "@{...}" expression block in Azure API Policy can be used to include a C# statement block as the attribute value or text value in most policy statements. C# statement block in the "@{...}" expression block must end with a "return" sta...
2018-02-14, 346👍, 0💬

'@(...)' Expressions in Azure API Policy
How to use the "@(...)" expression in Azure API Policy? The "@(...)" expression in Azure API Policy can be used to include a single C# expression as the attribute value or text value in most policy statements. When a "@(...)" expression is included in a policy statement, the C# expression will be ev...
2018-02-14, 324👍, 0💬

Using the 'context' Object in Policy Expressions
How to use the built-in "context" object in Policy expressions? The built-in "context" object can be used any "@(...)" expressions or "@{...}" expression blocks. The "context" object allows you to access information related to Azure API operation through its properties and methods. Here are some exa...
2018-02-14, 271👍, 0💬

'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, 461👍, 0💬

Using .NET CLR Types in Azure API Policy
How to use .NET CLR Types in Azure API Policy? By default, Azure imports many basic .NET CLR (Common Language Runtime) types into the API policy execution environment. Imported .NET CLR types can be used in any "@(...)" expressions or "@{...}" expression blocks. For example, the following "@{...}" e...
2018-01-24, 359👍, 0💬

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, 338👍, 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, 307👍, 0💬

Use Custom Variables in Policy Expressions
How to use custom variables created by "set-variable" statements in policy expressions? If you want to access custom variables created by "set-variable" statements, you can use the IReadOnlyDictionary object through "context.Variables". For example, the following policy creates a custom variable dur...
2018-01-24, 288👍, 0💬

'choose ... when ...' Statements to Control Execution Flows
How to use 'choose ... when ..." policy statements to control execution flows? If you want to control execution flows in Azure API management process, you can use the 'choose ... when ..." policy statement. The "choose ... when ..." statement has the following syntax: &lt;choose&gt; &lt;...
2018-01-19, 339👍, 0💬

Policy to Modify Request and Response Body
Where to find tutorials on creating Policy to Modify Request and Response Body on Azure API Management Policy? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on creating Policy to Modify Request and Request Body on Azure API Management Policy. 'f...
2018-01-19, 283👍, 0💬

'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...
2018-01-19, 273👍, 0💬

'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, 254👍, 0💬

< 1 2 3 4 > >>   Sort: Rank