Comment on page
Getting Started
Getting started with NextCron is quick and easy! Here are the steps to get started:
- 1.
- 2.Define a job with a target URL and scheduling configuration.
- 3.Submit the job to NextCron using the provided API endpoint.
- 4.Relax and let NextCron handle the scheduling and execution of your job.
With NextCron, you can start scheduling jobs in just a few minutes, and there's no need to worry about setting up and managing your own queueing infrastructure.
To get started with NextCron, simply visit our website at https://nextcron.co and sign up for a free account. Once you have your API key, you can start defining and submitting jobs using our simple API.
Try running the following command in your terminal/browser, and then visit the console to see logged request!
Node JS
import axios from 'axios';
axios.post('https://api.nextcron.co/v1/publish', {
"topic": "create-todo",
"target": "https://webhook.site/07e28015-5be9-465d-8621-86d360706317",
"method": "POST",
"data": {
"title": "foo",
"body": "bar",
"userId": 1
}
}, {
headers: {
'X-NextCron-Token': "<insert_your_api_token>"
}
});
If you have any questions or need help getting started, please don't hesitate to reach out to us at [email protected].
Last modified 9mo ago