-
Notifications
You must be signed in to change notification settings - Fork 53
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
Conversation
Thanks for your pull request, I'll look at merging this ASAP. |
:result => '{ json_response: as_string }' | ||
:https => true, | ||
:timeout => 10, | ||
:http_method => :post, |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, i'll change!
Just curious, what API services require a POST request? xmlrpc based API? |
I have one service with one api for processing data and for health check i need a POST method. |
Adding http POST method support to healthcheck
Adding http POST method support to healthcheck, because some api services need check if service is ok by request a post with json data.