QStash is an HTTP based messaging and scheduling solution for the serverless and edge runtimes.
Go to siteQStash offers an API that enables developers to access and manipulate data from their cloud storage service. With the QStash API, developers can build a wide range of applications and services that work with large datasets for data retrieval and analysis. Here are some examples of what can be built using the QStash API:
These are just a few examples of what can be built using the QStash API. With the myriad of possibilities, developers are assured of having the ability to create all sorts of applications and services that can harness, store, and process large amounts of data.
import { axios } from '@pipedream/platform';
export default defineComponent({
props: {
qstash: {
type: "app",
app: "qstash",
},
callback_url: {
type: "string",
label: "Callback URL",
description: "A URL that will be called by QStash with the body given",
},
delay: {
type: "string",
label: "Delay",
default: 0,
description: "Delay the HTTP request to the callback URL (seconds)"
}
},
async run({steps, $}) {
return axios($, {
url: `https://qstash.upstash.io/v1/publish/${this.callback_url}`,
method: 'POST',
headers: {
'Authorization': `Bearer ${this.qstash.auth.qstash_token}`,
'Upstash-Delay': `${this.qstash.delay}s`
},
data: {
hello: 'world'
}
});
}
})
QStash uses API keys for authentication. When you connect your QStash account, Pipedream securely stores the keys so you can easily authenticate to QStash APIs in both code and no-code steps.
QSTASH_TOKEN
from the Request BuilderThen paste it in the field below.