This section describes REST parameter types.
QUERY is the most common parameter type. It is specified at the end of the URL after the question mark (?). You can see it in the path preview at the top of the REST request editor.
If you simulate submitting HTML forms, use the POST method and add a query to the message body.
If this option is selected, ReadyAPI removes the parameter from the path. After you submit a request, you can see the query in the raw request body.
TEMPLATE (or PATH)
PATH parameters are used to parametrize the request path. They add a placeholder populated with values from the specified options:
TEMPLATE parameters work only on the resource level. It is possible to specify them on the method level as well, but we do not recommend that you do this. If you define a
TEMPLATE parameter on the method level, it will not be automatically appended to the resource path, and you will have to manage it manually.
If several resources use the same path with different PATH parameters, ReadyAPI cannot distinguish between them. As a result, you can use only the first resource in the list and cannot switch to another one. This does not affect requests, it affects only the way they are represented in the UI.
HEADER parameters are added as part of the HTTP header of a request.
Here is how the
HEADER parameter looks like on the Raw request tab.
MATRIX parameters are added to the resource path before the query string.
Here is how the
MATRIX parameter looks like on the Raw request tab.
PLAIN parameters are defined in a request and can be accessed in ReadyAPI, but are omitted when the request is sent.
When a request is sent, its
PLAIN parameter is omitted.