valeriansaliou / vigil

🚦 Microservices Status Page. Monitors a distributed infrastructure and sends alerts (Slack, SMS, etc.).
https://crates.io/crates/vigil-server
Mozilla Public License 2.0
1.72k stars 128 forks source link

Add support for custom http headers, http method and http body #86

Closed Eijebong closed 3 years ago

Eijebong commented 3 years ago

This was done by adding a new configuration option, http_headers which is parsed as a HeaderMap and then merged with the current default headers.

This is very useful to get status of authenticated pages for example by adding an Authorization header.