def post(self):
try:
raise MethodNotAllowed
except MethodNotAllowed as e:
return error.format_exception(
e,
target=self.__class__.__name__.lower(),
action='POST')