sips
sips copied to clipboard
sips: refactor the HTTP handler
The current handler manually handles every single piece of information from queries and JSON bodies, resulting in very long and awkward to read functions for each endpoint. This should be cleaned up, in particular by reducing the repetition between endpoint handlers.