POST
Send an API POST request with an optional body and store the response.
POST sends data to an HTTP endpoint and stores the response. Use it to create resources, log in through an API, or seed data before UI steps.

When to use it
Create a record the UI will open next.
Exchange credentials for a token, then pass that token in Headers on later API steps.
Assert the response with Check JSON Value using the same storage name.
See Test APIs in a Flow for a full example.
Configure
Basics
URL
Fully qualified URL, or a Value that expands to one
Body Content-Type
JSON (default), JSON:API, XML, Plain Text, URL Encoded, Form Data, or No Body
Body
Request body (editor matches Content-Type)
Response Storage Name
Name for the stored response (response by default)
Advanced
Headers
Request headers as JSON
Expected Response Status Codes
Defaults to 2xx. Choose 201 or other codes when the API requires them
Response Object
Body (default), Headers, or Complete
Status on fail
Related
Tags: integration, api, post, rest
Last updated