Last active
March 6, 2018 17:07
-
-
Save dylanz/cdf104e4049fd1e7269ed82881896c5a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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