<< < 1 2 3 4 5 6 7 8 9 10 > >>   Sort: Rank

Where Are Class Properties Stored
Where Are Class Properties Stored? Class properties are stored in a built-in property called "__dict__" in class "type" object. The "__dict__" property is inherited from the base class "object" and managed by the Python engine. If you ever forget what class properties are associated with a class, yo...
2018-01-27, 259👍, 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, 396👍, 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, 323👍, 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, 294👍, 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, 289👍, 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, 268👍, 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, 299👍, 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, 263👍, 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, 250👍, 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, 235👍, 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 ...
2018-01-19, 210👍, 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, 236👍, 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, 227👍, 0💬

'mock-response' Policy Statement
How to use the "mock-response" Policy statement to return an example response for an Azure API service operation? The "mock-response" Policy Statement allows you to return a fake response and stop the Azure API processing immediately. The "mock-response" Statement has the following syntax: &lt;m...
2018-01-16, 227👍, 0💬

'set-method' Policy Statement
How to use the "set-method" Policy Statement for an Azure API service operation? The "set-method" Policy Statement can be used to modify the HTTP verb when Azure forwarding the client request to the backend Web service. By default, Azure uses the save HTTP verb as client request received at the Azur...
2018-01-16, 223👍, 0💬

'retry' Policy Statement
How to use the "retry" Policy statement to retry "forward-request" multiple times for an Azure API service operation? The "retry" Policy Statement allows you to mainly execute "forward-request" statement multiple times if it fails. The "forward-request" Statement has the following syntax: &lt;re...
2018-01-16, 214👍, 0💬

'send-request' Policy Statement
How to use the "send-request" Policy statement to call an extra web service for an Azure API service operation? The "send-request" Policy Statement allows you to call an extra web service and store the response in a given variable. The "send-request" statement has the following syntax: &lt;send-...
2018-01-13, 250👍, 0💬

'wait' Policy Statement
How to use the "wait" Policy statement to make multi-threading calls for an Azure API service operation? The "wait" Policy Statement allows you to make multi-threading calls to external systems. The "wait" statement has the following syntax: &lt;wait for="all|any"&gt; &lt;send-request .....
2018-01-13, 244👍, 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, 231👍, 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: &lt;send-request mode="new|copy"&...
2018-01-13, 226👍, 0💬

'set-status' Policy Statement
How to use the "set-status" Policy statement to modify the response status for an Azure API service operation? The "set-status" Policy Statement allows you to change the status code of the response. For example, the following outbound policy changes the status code of the response to 401: &lt;ou...
2018-01-13, 226👍, 0💬

Real RSS XML Examples
Where to get a Real RSS XML example? You can follow this tutorial to get a real RSS XML example: 1. Go to FYIcenter.com Developer Website. 2. Scroll to the bottom and click the "RSS" link. You see an RSS XML document displayed as an XML tree or as new feeds depending on the Web browser you are using...
2018-01-08, 278👍, 0💬

What Is RSS (Rich Site Summary)
What Is RSS (Rich Site Summary)? RSS (Really Simple Syndication) is a type of Web syndication or feed in XML format which allows users to access updates of a Website in a standardized format. RSS originally called RDF (Resource Description Framework) Site Summary. RSS is also called Rich Site Summar...
2018-01-08, 275👍, 0💬

RSS specifications
Where to find tutorials on Understanding RSS specifications? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Understanding RSS specifications: RSS Document Structure RSS "channel" Element RSS "channel/image" Element RSS "channel/textInput" Elem...
2018-01-08, 254👍, 0💬

<< < 1 2 3 4 5 6 7 8 9 10 > >>   Sort: Rank