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

Http get functionality #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pooleja
Copy link

@pooleja pooleja commented Jan 7, 2017

For uptime monitoring services, the ability to perform HTTP requests against an application is needed in addition to a standard PING request. This allows the user to understand not only if the server is reachable, but also if the web application running on the server is functioning as expected.

This pull request adds a simple HTTP GET capability to the Ping21 server with a single new endpoint. If the customer would like to run an HTTP GET against a url, they can hit the "/get" endpoint and will get stats about the http request performed.

The response will include:

  • HTTP status code
  • HTTP reason text
  • Elapsed time for the request to complete in milliseconds
  • Sever information about the node (same as existing Ping endpoint)

@wbnns
Copy link
Contributor

wbnns commented Feb 23, 2017

@pooleja Heya! Just wanted to say thanks for submitting this and also apologies for the delay on the review. I've labeled this enhancement - we'll be sure to consider merging this in. Good idea. 👍

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

Successfully merging this pull request may close these issues.

2 participants