Add support to query the REST API with a POST body.