res = {
'id?' : id,
'ResultimgURL' : rimgURL,
'imgURL' : imgURL,
'answer_text' : answer,
'num?' : num
}
res = make_response(json.dumps(res, ensure_ascii=False))
# header Options
res.headers['Content-Type'] = 'application/json; charset=utf-8'
return res;
DotBlossom/flask-api
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|