< 1 2 3 4 5 6 7 > >>   Sort: Date

Passing Arrays by References to Functions in PHP
How To Pass Arrays By References? in PHP? Like normal variables, you can pass an array by reference into a function by taking a reference of the original array, and passing the reference to the function. Here is a PHP script on how to pass array as reference: &lt;?php function shrink($array) { a...
2016-12-18, 4462👍, 0💬

XML to JSON Conversion at freeformatter.com
How to use the XML to JSON Conversion Tool at freeformatter.com? If you want to try the XML to JSON Conversion Tool at freeformatter.com, you can follow this tutorial: 1. Go to the JSON and XML Conversion Tool page at freeformatter.com. 2. Enter the following XML document in the XML text area: &...
2022-07-01, 4428👍, 18💬

💬 2022-07-01 gg: "@id": "01164917579869568", "name": { "#text": [ "Grzegorz", "Jaśko" ], "mid": "M" }, "age": "40", "address": { "Gałczyńskiego"...

💬 2022-05-28 Jcastillo: We'll update our Wordle answer list daily with today's Wordle word so you'll never have to feel like a lesser being when talking...

💬 2022-01-22 meta.json: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46...

(More comments ...)

'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, 4262👍, 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.

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

Can Two HTML Forms Be Nested
Can Two Forms Be Nested? Can two forms be nested? The answer is no and yes: No. You can not nest two forms directly. XHTML schema does not allow that. Yes. You can nest two forms indirectly. See the tutorial example below. No. Two nested form do not work as two forms. Browsers will treat them as one...
2023-01-24, 4002👍, 2💬

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

Getting Minimum/Maximum Value of an Array in PHP
How To Get the Minimum or Maximum Value of an Array in PHP? If you want to get the minimum or maximum value of an array, you can use the min() or max() function. Here is a PHP script on how to use min() and max(): &lt;?php $array = array(5, 7, 6, 2, 1, 3, 4, 2); print("Minimum number: ".min($arr...
2016-12-28, 3536👍, 0💬

Multiple Paragraphs in an HTML List Item
Can Multiple Paragraphs Be Included in a List Item? Yes. You can include multiple paragraphs in a single list item, because "li" is a flow type element, which can have block elements and inline elements. The tutorial example below shows you how a list item can have two paragraphs: &lt;?xml versi...
2017-05-29, 3520👍, 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, 3518👍, 0💬

Adding Claims in Azure AD v2 id_token
How to include additional claims in Azure AD v2.0 id_tokens? If you want to include additional claims in Azure AD v2.0 id_tokens, you need to modify your application registration in Azure AD. 1. Log in the Azure portal. 2. Select the Azure Active Directory service, and then select App registrations ...
2019-03-27, 3498👍, 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, 3496👍, 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, 3471👍, 0💬

Using urllib.parse.urlencode()
How to use urllib.parse.urlencode() function to encode HTTP POST data? My form data has special characters. If your form data has spaces, equal signs, and other special characters, you need to call urllib.parse.urlencode() to encode it before passing it to the urlopen() function. The urlencode() fun...
2018-09-13, 3410👍, 0💬

Start Visual Studio Command Prompt
How to start Visual Studio Command Prompt? I have Visual Studio 2017 Community version with Visual C++ environment installed. If you have Visual Studio 2017 Community version with Visual C++ environment installed, you can follow this tutorial to start Visual Studio Command Prompt: 1. Run "All Progra...
2017-08-21, 3338👍, 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, 3337👍, 0💬

$_GET, $_POST and $_REQUEST in PHP
Where Is the Submitted Form Data Stored in PHP? When a user submit a form on your Web server, user entered data will be transferred to the PHP engine, which will make the submitted data available to your PHP script for processing in pre-defined arrays: $_GET - An associate array that store form data...
2016-11-15, 3304👍, 0💬

Azure API Management - Publisher Dashboard
What is Azure API Management Publisher Dashboard? Azure API Management Publisher Dashboard is an Azure Web portal that allows you to create and manage your API services. Once you have signed up for an Azure API Management Service, you will see it listed as resource entry on your Azure dashboard. If ...
2018-10-30, 3207👍, 0💬

Add Operation to API on Publisher Dashboard
How to add a new operation to an API on the Publisher Dashboard of an Azure API Management Service? You can follow this tutorial to add a new operation to an API on the Publisher Portal of an Azure API Management Service. 1. Click on the API name from the API list to open it. You see detailed inform...
2018-03-31, 3167👍, 0💬

Atom Online Validator at w3.org
How to use the Atom Online Validator at w3.org? w3.org feed validation service is provided at http://validator.w3.org/feed/. It offers you two methods to validate your Atom feed document: Validate by URL - Validating a feed file by entering the URL where the feed file is located. Validate by Direct ...
2017-12-31, 3138👍, 0💬

Extending json.JSONEncoder Class
How to extend json.JSONEncoder class? I want to encode other Python data types to JSON. If you encode your own data types to JSON strings, you need to extend the json.JSONEncoder class and override the default() function. The following Python example shows you how to extend json.JSONEncoder class to...
2018-10-08, 3098👍, 0💬

Sending FTP Request with urllib.request.urlopen
How to send an FTP request with the urllib.request.urlopen() function? If an FTP server supports anonymous access, you can send an FTP request to retrieve a directory list, or download a file using the urllib.request.urlopen() function: Here is a Python example on how to get a directory list from an...
2018-09-13, 3071👍, 0💬

Looping through an Array without "foreach" in PHP
How To Loop through an Array without Using "foreach" in PHP? PHP offers the following functions to allow you loop through an array without using the "foreach" statement: reset($array) - Moves the array internal pointer to the first value of the array and returns that value. end($array) - Moves the a...
2017-01-05, 3067👍, 0💬

< 1 2 3 4 5 6 7 > >>   Sort: Date