Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

flask api response code

> from flask import Response
> return Response("{'a':'b'}", status=201, mimetype='application/json')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flask #api #response #code
ADD COMMENT
Topic
Name
7+6 =