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

Support HTTP header(s) in HTTP searches #98

Open
clarenceb opened this issue Dec 19, 2016 · 2 comments
Open

Support HTTP header(s) in HTTP searches #98

clarenceb opened this issue Dec 19, 2016 · 2 comments

Comments

@clarenceb
Copy link

The HTTP search type is fairly basic in that it supports GETing an endpoint to check if a site/service is available.

I'd like to be able to pass a HTTP header in the request. Specially, I am trying to hit the "healthcheck" endpoint of my services but they require a "app key" to be passed in as a header. If I could set this header in the HTTP search then I could successfully perform the health checks from 411.

I understand this might not be a generally useful enhancement so I'm putting this here for discussion to gauge interest. I'm happy to contribute a PR if people are interested in this.

@quintanilhar
Copy link
Contributor

Hey @kiwiz, what do you think about this? I supposed that it makes total sense for HTTP API's that requires some type of header authentication.

@kiwiz
Copy link
Contributor

kiwiz commented Oct 27, 2017

I'd accept a PR for this, but I don't have time to work on it.

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

No branches or pull requests

3 participants