Endpoints to activate and deactivate an output
Tignten up routing and return 405 for wrong methods
Use net/http's error functions