Publish a message
http://
or https://
)Content-Type
header along, as this will help
your destination API to understand the content of the message.Set this to whatever data you are sending through QStash, if your message is json, then use application/json
.
Some frameworks like Next.js will not parse your body correctly if the content type is not correct.For example application/json
, application/xml
, application/octet-stream
,
text/plain
1 + retries
Leave this empty to use the default value, (free tier: 3, paid tier: 5)The backoff duration in seconds is calculated as follows: n
is the number of
times the task has been retried.min(86400, e ** (2 * n))
http://
or https://
)http://
or https://
)Upstash-Forward-
. We will
strip efix and them to the destination API.example: "Upstash-Forward-My-Header: my-value" -> "My-Header: my-value"10s
. Available durations are s
(seconds), m
(minutes), h
(hours), d
(days).example: ”50s” | “3m” | “10h” | “1d”