DEV Community

Discussion on: What is the sneakiest easter egg you have ever done?

Collapse
 
integerman profile image
Matt Eland

I built a middleware layer for our layer of .NET Core services. It's the kind of thing that all applications plug into atoms avlid having to implement standard stuff like logging, compression, api documentation, etc.

I also baked in a pair of api endpoints, one of which is for automated health checks to ping, but the other is an undocumented one that follows the HTTP Coffeepot protocol's 418 I'm a teapot response format. So... each microservices we offer has a hidden endpoint revealing the service thinks that it is, in fact, a teapot.