Question : flask api response code
Answered by : depressed-dunlin-nu8lafhctg1h
> from flask import Response
> return Response("{'a':'b'}", status=201, mimetype='application/json')
Source : https://stackoverflow.com/questions/7824101/return-http-status-code-201-in-flask | Last Update : Tue, 05 Oct 21