PATCH Request

This operation makes a PATCH request to aspecified url.

📘

Note: This operation is part of the HTTP Book (BDK). To use this book, you need to first learn it in your agent.

Input Concepts

ConceptDescriptionTypeRequired
urlThe URL to make the PATCH request to.textYes
payloadThe payload to include in the request.file | list of | textYes
headersThe headers to include in the request. For example {"Authorization": "Bearer <token>"}. Note: If connect is set, the "Authorization" header will be added automatically to the request, and a manually set "Authorization" header will be ignored.No

Output Concepts

ConceptDescriptionType
answerThe response from the PATCH request.file or list of or text

Examples

  1. Update a post
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"
  1. Update a post with an Authentication header
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