Basic queue
curl -X POST http://localhost:3000/api/send-welcome \
-H 'content-type: application/json' \
-d '{"email":"demo@example.com"}'Demo App
Queue a welcome email with @nextmq/sdk, process it through the signed webhook route, and inspect the result on the server.
curl -X POST http://localhost:3000/api/send-welcome \
-H 'content-type: application/json' \
-d '{"email":"demo@example.com"}'curl -X POST http://localhost:3000/api/send-reminder \
-H 'content-type: application/json' \
-d '{"email":"later@example.com","delayMs":5000}'curl -X POST http://localhost:3000/api/run-report \
-H 'content-type: application/json' \
-d '{"name":"sales","failUntilAttempt":1}'curl -X POST http://localhost:3000/api/run-pipeline \
-H 'content-type: application/json' \
-d '{"source":"s3://bucket/input.csv","recipient":"ops@example.com"}'