< 1 2 3 4 > >>   Sort: Rank

Test API as a Publisher Administrator
How to Test API as a Publisher Administrator? You can follow this tutorial to test an API operation as a publisher administrator. 1. Go to https://portal.azure.com with a Web browser. And log in with your company email address. 2. Find the API Management Service resource to open it. 3. Click on the ...
2018-03-28, 293👍, 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, 287👍, 0💬

Test API Operation Request Body Examples
How to test request body examples on my Azure API operation? If you have added some request body examples to your Azure API operation, you can follow this tutorial to test them. 1. Go to the developer portal as a publisher administrator. 2. Open the "First API" and open the operation "Add new user"....
2018-03-28, 283👍, 0💬

Debug API Operation Test
How to debug issues in an API Operation Test? The first step to debug an API operation issue is to review the "trace" information in the test result. 1. Repeat the test on "Add new user" operation of the "First API". 2. Click "Try it" and scroll down. 3. Click "Send". You see test result displayed. ...
2018-03-28, 277👍, 0💬

Making API More User Friendly
Where to find tutorials on Making API More User Friendly with Azure API Management Service? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Making API More User Friendly with Azure API Management Service: Add API Operation Request Body Examples...
2018-03-28, 268👍, 0💬

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, 309👍, 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, 301👍, 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, 293👍, 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, 284👍, 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, 271👍, 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, 330👍, 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, 294👍, 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, 293👍, 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, 289👍, 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, 253👍, 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, 417👍, 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, 392👍, 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, 382👍, 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, 363👍, 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, 304👍, 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, 542👍, 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, 404👍, 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, 390👍, 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, 326👍, 0💬

< 1 2 3 4 > >>   Sort: Rank