We’re using Flask for one of our API’s and I was just wondering if anyone knew how to return a HTTP response 201?
For errors such as 404 we can call:
from flask import abort
But for 201 I get
LookupError: no exception for 201
Do I need to create my own exception like this in the docs?