In this field... | Do the following... | ||
Name | This is a label that you assign as a meaningful name for the HTTP request. For example, you may call a HTTP request of the type application/xml, as XML Request or XML Payload. You may also call a HTTP request based on the data that it holds. For example, you could specify a POST request to create new customer as Create Customer Request. | ||
Description | Optional. Enter a comment or descriptive information about the request. | ||
Request Content-Type | Select the content format for request message. (The drop-down list displays the list of supported content formats.)
| ||
Schema | Optional. Specify a HTTP request message (payload) using either XML schema or JSON schema. | ||
Inline or External File | Specify whether the schema definition will be read from an inline text (the Inline option) or from an external file or URL (the External File option). If you want to use an inline schema, specify the schema definition manually in the Inline text box. If the schema definition you are uploading resides on the network, specify its URL. If the schema definition resides in an external file, specify the file name. You can use the Browse button to navigate to the required folder.
| ||
Example | Optional. Specify a HTTP request message (payload) using examples to show how a schema is used. An example is simply an XML code or JSON code. | ||
Inline or External File | Specify whether the example will be read from an inline example code (the Inline option) or from an external file or URL (the External File option). If you want to use an inline example, specify the example code manually in the Inline text box. If the example definition you are uploading resides on the network, specify its URL. If the example definition resides in an external file, specify the file name. You can use the Browse button to navigate to the required folder.
|