def post(self, where, **query): """Returns the API URI for the newly created item.""" body = json.dumps(query, cls=JSONEncoder) item_url = self.url % where h = httplib2.Http() response, content = h.request( item_url, method="POST", body=body, headers=self.headers ) return response["status"] == "201", response, content