Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Bug when reading webhook URLs? #60

Closed
calebjclark opened this Issue Mar 24, 2013 · 2 comments

Comments

Projects
None yet
2 participants

I'm running into an issue with webhook urls that is completely stopping me from getting webhooks up and running. It seems that IronWorker is only reading the first query param. For example, I get a "Token required for authentication" if I post the following with valid data:

curl -X POST -d "test=testing" https://worker-aws-us-east-1.iron.io/2/projects/PROJECT_ID/tasks/webhook?code_name=CODE_NAME&oauth=TOKEN

However, if I switch the code_name and oauth params around I get a "no code_name":

curl -X POST -d "test=testing" https://worker-aws-us-east-1.iron.io/2/projects/PROJECT_ID/tasks/webhook?oauth=TOKEN&code_name=CODE_NAME

I can't figure out any way to get an IronWorker webhook to be accepted. I see that you have documentation for this feature, but is anyone using it?

Thanks,

Caleb

@calebclark just wrap url in quotes: curl -X POST ....."http://...."
It's terminal feature, not related to iron_worker API

Ah... idiot me. Thank you for your fast response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment