Upstash · Method
client.publish
client.publishJSON sends a JSON message to an HTTP endpoint through QStash. You can add a delay, headers, retries, callbacks, timeout, deduplication, and labels.
Last updated
Syntax
const result = await client.publishJSON({ url, body, ...options });In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
publishURL Groupsretriesretry_delaycontent-based deduplicationtimeoutlabelscallbacks