The following documentation is for HTTP v1.6.18(BDK).
Ensure that you have installed or connected the HTTP book and created a new playground before using these automation procedures.
to delete a url
Make a DELETE request to the specified url.
Input Concepts
Concept
Description
Type
Required
Default Value
url
The URL to make the DELETE request to.
text
Yes
(no default)
headers
The headers to include in the request. For example {"Authorization": "Bearer "}. Note: If connect is set, "Authorization" header will be added automatically to the request and manually set "Authorization" header will be ignored.
create a json
use the above as the headers input
set the headers input's "Authentication" to "Bearer <token>"
delete "https://jsonplaceholder.typicode.com/posts/1"
... the headers is the headers input
to head a url
Make a HEAD request to the specified url.
Input Concepts
Concept
Description
Type
Required
Default Value
url
The URL to make the HEAD request to.
text
Yes
(no default)
headers
The headers to include in the request. For example {"Authorization": "Bearer "}. Note: If connect is set, "Authorization" header will be added automatically to the request and manually set "Authorization" header will be ignored.
json
No
(no default)
Output Concepts
Concept
Description
Type
answer
The response from the HEAD request.
`` or file or list of or text
Examples
Get the headers of a post with the following details
Get the headers of a post with Authentication header
to patch payload on a url
Make a PATCH request to the specified url.
Input Concepts
Concept
Description
Type
Required
Default Value
url
The URL to make the PATCH request to.
text
Yes
(no default)
payload
The payload to include in the request.
`` or file or list of or text
Yes
(no default)
headers
The headers to include in the request. For example {"Authorization": "Bearer "}. Note: If connect is set, "Authorization" header will be added automatically to the request and manually set "Authorization" header will be ignored.
json
No
(no default)
Output Concepts
Concept
Description
Type
answer
The response from the PATCH request.
`` or file or list of or text
Examples
Update a post with the following details
Update a post with Authentication header
to post payload to a url
Make a POST request to the specified url.
Input Concepts
Concept
Description
Type
Required
Default Value
url
The URL to make the POST request to.
text
Yes
(no default)
payload
The payload to include in the request.
`` or file or list of or text
Yes
(no default)
headers
The headers to include in the request. For example {"Authorization": "Bearer "}. Note: If connect is set, "Authorization" header will be added automatically to the request and manually set "Authorization" header will be ignored.
json
No
(no default)
Output Concepts
Concept
Description
Type
answer
The response from the POST request.
`` or file or list of or text
Examples
Create a new post with the following details
Create a new post with Authentication header
to put payload on a url
Make a PUT request to the specified url.
Input Concepts
Concept
Description
Type
Required
Default Value
url
The URL to make the PUT request to.
text
Yes
(no default)
payload
The payload to include in the request.
`` or file or list of or text
Yes
(no default)
headers
The headers to include in the request. For example {"Authorization": "Bearer "}. Note: If connect is set, "Authorization" header will be added automatically to the request and manually set "Authorization" header will be ignored.
json
No
(no default)
Output Concepts
Concept
Description
Type
answer
The response from the PUT request.
`` or file or list of or text
Examples
Update a post with the following details
Update a post with Authentication header
to retrieve a url
FILTER - CAPABLE
Make a GET request to the specified url.
Input Concepts
Concept
Description
Type
Required
Default Value
url
The URL to make the GET request to.
text
Yes
(no default)
headers
The headers to include in the request. For example {"Authorization": "Bearer "}. Note: If connect is set, "Authorization" header will be added automatically to the request and manually set "Authorization" header will be ignored.
head "https://jsonplaceholder.typicode.com/posts/1"
create a json
use the above as the headers input
set the headers input's "Authentication" to "Bearer <token>"
head "https://jsonplaceholder.typicode.com/posts/1"
... the headers is the headers input
create a json
use the above as the post json
set the post json's title to "My Post Title"
set the post json's body to "Awesome Body"
set the post json's userId to 1
patch the post json on "https://jsonplaceholder.typicode.com/posts/1"
create a json
use the above as the post json
set the post json's title to "My Post Title edited"
set the post json's body to "Awesome Body"
set the post json's userId to 1
create a json
use the above as the headers input
set the headers input's "Authentication" to "Bearer <token>"
patch the post json to "https://jsonplaceholder.typicode.com/posts"
... the headers is the headers input
create a json
use the above as the post json
set the post json's title to "My Post Title"
set the post json's body to "Awesome Body"
set the post json's userId to 1
post the post json to "https://jsonplaceholder.typicode.com/posts"
create a json
use the above as the post json
set the post json's title to "My Post Title"
set the post json's body to "Awesome Body"
set the post json's userId to 1
create a json
use the above as the headers input
set the headers input's "Authentication" to "Bearer <token>"
post the post json to "https://jsonplaceholder.typicode.com/posts"
... the headers is the headers input
create a json
use the above as the post json
set the post json's title to "My Post Title edited"
set the post json's body to "Awesome Body"
set the post json's userId to 1
put the post json on "https://jsonplaceholder.typicode.com/posts/1"
create a json
use the above as the post json
set the post json's title to "My Post Title edited"
set the post json's body to "Awesome Body"
set the post json's userId to 1
create a json
use the above as the headers input
set the headers input's "Authentication" to "Bearer <token>"
put the post json on "https://jsonplaceholder.typicode.com/posts"
... the headers is the headers input
retrieve "https://jsonplaceholder.typicode.com/posts" whose "userId" is 1
create a json
use the above as the headers input
set the headers input's "Authentication" to "Bearer <token>"
retrieve "https://jsonplaceholder.typicode.com/posts"
... the headers is the headers input