<< < 17 18 19 20 21 22 23 >   Sort: Date

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

HTML Tags in RSS "channel/item/description"
How to enter HTML Tags in RSS "channel/item/description"? In most cases, the "channel/item/description" XML element should contain a text string describing the RSS feed item without HTML tags. But sometimes, you would like to include HTML tags in the "channel/item/description" XML element, to provid...
2017-11-05, 188👍, 0💬

Atom Syndication Feed File
How to prepare an Atom Syndication Feed file? An Atom Syndication feed is just a file that: Is generated statically or dynamically. Has an accessible URL. In XML format. Confirms with Atom standard. Contains headlines, summaries and/or contents of an entire Website, a Website section, or a single We...
2017-12-21, 187👍, 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, 186👍, 0💬

JSON Schema Syntax
What is the JSON Schema syntax? I heard that it is very simple. JSON Schema syntax is very simple. Here are some basic JSON Schema syntax rules: 1. A JSON schema must be a valid JSON Object. 2. A JSON schema may contain zero, one or more validation properties (also called keywords). Each validation ...
2018-02-01, 186👍, 0💬

HTML Tags in Atom "feed/entry/summary"
How to enter HTML Tags in Atom "feed/entry/summary"? In most cases, the "feed/entry/summary" XML element should contain a text string describing the Atom feed entry without HTML tags. But sometimes, you would like to include HTML tags in the "feed/entry/summary" XML element, to provide images and hy...
2018-01-06, 186👍, 0💬

Atom Feed Files Are XML Documents
Are Atom Feed Files XML Documents? Yes. Atom feed files are XML (eXtensible Markup Language) documents. Atom feed files must be well-formed XML documents, respecting the following XML rules. The first line must be the "xml" processing instruction with "version" and "encoding" attributes. There must ...
2017-12-09, 186👍, 0💬

Pass Function as Function Parameter
How to pass function objects as function parameters? You can pass function objects like any other types of objects as parameters of other functions. For example, &gt;&gt;&gt; def x(): ... print("Hello world!") ... &gt;&gt;&gt; def addVersion(f): ... f.version = "1.0" ... f.au...
2018-02-08, 185👍, 0💬

Versions of RSS Specifications
What are versions of Specifications and release dates? Versions and release dates of RSS are: RSS 2.0.11 - Published by the RSS Advisory Board on March 30, 2009. RSS 2.0.1 - Published by the Berkman Center for Internet &amp; Society at Harvard Law School on July 15, 2003. RSS 2.0 - Published thr...
2017-12-26, 185👍, 0💬

Atom "feed/updated" Element
What is the Atom "feed/updated" element? How To Generate a "feed/updated" element? The &lt;updated&gt; element is a required sub-element of the &lt;feed&gt; element. The Atom specification requires that you provide a data and a time of when this feed was updated. There is no problem ...
2017-11-29, 185👍, 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, 184👍, 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, 184👍, 0💬

JSON Schema Example
Where to get a simple example of JSON Schema? Here is simple JSON Schema example, called Person_Schema.json: { "title": "Person", "type": "object", "properties": { "firstName": { "type": "string" }, "lastName": { "type": "string" }, "age": { "description": "Age in years", "type": "integer", "minimum...
2018-02-01, 182👍, 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, 182👍, 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, 181👍, 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, 181👍, 0💬

Atom "feed/category" Element
What is the Atom "feed/category" element? How To Generate a "feed/category" element? The &lt;category&gt; element is not a required sub-element of the &lt;feed&gt; element. However, it is recommended to have one or more &lt;category&gt; elements to provide classifications for...
2017-11-29, 181👍, 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, 180👍, 0💬

Google Chrome Showing Atom Feeds as XML
Why is Google Chrome Showing Atom Feeds as XML? Google Chrome is showing Atom Feeds as XML, because it has stopped the support of formatted viewing of Atom feeds by default. Follow this tutorial to see this behavior: 1. Launch Google Chrome 60. 2. Enter the following in the URL input box: http://dev...
2017-12-31, 178👍, 0💬

MIME Type Definition for Atom Files
What Is the MIME Type Definition for Atom Files? Atom files have its own MIME type definition as: MIME type: application/atom+xml File extension: .atom, .xml Type of format: Syndication Extended from: XML   ⇒Introduction of Atom ⇒⇒RSS FAQ and Tutorials
2017-12-21, 178👍, 0💬

Introduction of Python
Where to find tutorials in understanding what is Python? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team in understanding what is Python. What Is Python Download Latest Version of Python for Windows Install Latest Version of Python for Windows Ver...
2018-02-01, 177👍, 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, 176👍, 0💬

What Is JSON Schema
What Is JSON Schema? JSON (JavaScript Object Notation) Schema is a standard on how to define the structure of a JSON text string. JSON Schema allows you to: Describe the structure of your JSON text strings. Provide clear, human- and machine-readable documentation about your JSON text strings. Allow ...
2018-02-01, 175👍, 0💬

Icon for Atom Syndication
What Is the Icon for Atom Syndication? The Web browser and Website syndication industry has adopted a standard icon to identify Atom syndicated content as shown below:   ⇒Introduction of Atom ⇒⇒RSS FAQ and Tutorials
2017-12-21, 174👍, 0💬

<< < 17 18 19 20 21 22 23 >   Sort: Date