Updates to the /post route including differentiating between minified and pretty-printed JSON depending on requested extension, and removal of dead code.