Add a post endpoint.