Adding and Editing Header Parameters
Request headers are used to precisely describe the resource that is being fetched or the behavior of the server or the client.
Adding Header Parameters
To add Header parameters, complete these steps:
- In the right Request Headers section, click Header parameter.
- In the Name field, enter a parameter name. Ensure that the parameter name is unique.
- From the data type list, select a data type for the parameter. By default, the data type is
string
. - (Optional) Select the array check box if the parameter is array.
- (Optional) In the Description field, enter a description for the added parameter.
- (Optional) In the Default value field, enter a default value.
- Select the Required check box if the parameter is required. The required parameter is displayed in bold.
- Click Create.
Editing Header Parameters
To edit an added Header parameter, complete these steps: