Make HTTP headers
I/O and network
Make HTTP headers
Headers(HTTP headers)
Description
Creates an empty HTTP headers collection on the execution flow. Has execution pins so each fire yields a fresh instance — chain with add-http-header to attach values, then wire the result into http-request's headers input.
When to use
Use Make HTTP headers whenever you need to send a custom set of headers with HTTP
request. Pair it with one or more Add HTTP header nodes to build up the collection,
then wire the final headers output into the Headers input of HTTP request.
Pins
Output pins
| Pin | Type | Notes |
|---|---|---|
| Headers | HTTP headers | An empty, multi-valued, case-insensitive HTTP headers collection. |
Execution pins
| Pin | Direction |
|---|---|
| In | Input |
| Out | Output |
Example
Send an HTTP request with an Accept: application/json header. Wire the Headers
output of Make HTTP headers into the Headers input of Add HTTP header. Set Name to
Accept and Value to application/json. Wire the Headers output of Add HTTP header
into the Headers input of HTTP request.