Tools, FAQ, Tutorials:
Test API Operation Request Body Examples
How to test request body examples on my Azure API operation?
✍: FYIcenter.com
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".
3. Click the "Try it" button. You see the "Content-Type" header is listed.
4. Click the input field of "Content-Type". You see two options: text/xml and application/json.
5. Select "text/xml". You see the "Request body" box is populated with your XML example.
6. Scroll down, review the request, and click the "Send" button. You see test result displayed.
The picture below shows you steps on how to test request body examples on an API operation:
⇐ Add API Operation Request Body Examples
2018-03-28, ∼2718🔥, 0💬
Popular Posts:
How to access Query String parameters from "context.Request.Url.Que ry"object in Azure API Policy? Q...
How to convert a JSON text string to an XML document with PHP language? Currently, there is no built...
How to enter & sign in '@(...)' expressions? & signs can be entered in '@(...)' expr...
How to access Request body from "context.Request.Body" object in Azure API Policy? Request body is t...
How to use 'choose ... when ..." policy statements to control execution flows? If you want to contro...