Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding http POST method support to healthcheck #53

Merged
merged 5 commits into from Aug 26, 2014
Merged

Adding http POST method support to healthcheck #53

merged 5 commits into from Aug 26, 2014

Conversation

alangalvino
Copy link
Contributor

Adding http POST method support to healthcheck, because some api services need check if service is ok by request a post with json data.

@Rylon
Copy link
Contributor

Rylon commented Mar 12, 2014

Thanks for your pull request, I'll look at merging this ASAP.

:result => '{ json_response: as_string }'
:https => true,
:timeout => 10,
:http_method => :post,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:via might be an easier option name, default being :via => :get, great feature to add btw.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, i'll change!

@nickhammond
Copy link

Just curious, what API services require a POST request? xmlrpc based API?

@alangalvino
Copy link
Contributor Author

I have one service with one api for processing data and for health check i need a POST method.

Rylon added a commit that referenced this pull request Aug 26, 2014
Adding http POST method support to healthcheck
@Rylon Rylon merged commit 109f5b5 into forward:master Aug 26, 2014
@alangalvino alangalvino deleted the feature/http_method_for_instance_health branch August 26, 2014 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants