Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
curl -X PUT -H "Authorization: OAuth TOKEN" -H "Content-Type: application/json" \
-d '{
"queue" : {
"type": "multicast",
"push": {
"subscribers": [
{"name": "some-url", "url": "https://example.com/accept/notification/here"},
{"name": "worker-url", "url": "ironworker://my-project:xxxxx@xxxxx/process-data"}
],
"retries": 3,
"retries_delay": 300,
"error_queue": "push-errors-go-here"
}
}
}' \
"https://mq-aws-us-east-x-x.iron.io/1/projects/xxxxxxxx/queues/my-handy-push-queue"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment