Skip to content
GitLab
Explore
Sign in
Changes
Page history
Added example for headers
authored
Jun 10, 2021
by
Vikas
Show whitespace changes
Inline
Side-by-side
API-Designer.md
View page @
0aa9d83f
...
@@ -399,6 +399,22 @@ Example:
...
@@ -399,6 +399,22 @@ Example:
</api>
</api>
```
```
#### Setting Headers
To set headers to the request add headers node inside rest node.
Example:
```
<?xml version="1.0" ?>
<api
method=
"post"
>
<rest
method=
"post"
>
<url>
https://sheets.googleapis.com/v4/spreadsheets
</url>
<headers>
<header
name=
"Content-Type"
value=
"application/json"
>
</header>
</headers>
</rest>
</api>
#### SOAP Support
#### SOAP Support
```
```
...
...