Add post handler

Just as a mirror of the request without saving. Body must be json
encoded.