def post(self, key, image, num): """ post - Handles the post request to prealloc.""" return tangoREST.prealloc(key, image, num, self.request.body)