@http.route('/my_module/xxx/', type='json', auth='none', methods=['POST'])
def my_foo(self, **post)
data = request.jsonrequest
result = my_verify(data)
if not result:
### HOW RETURN/EXCEPT '400 Bad Request' header ???????????
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 6/28/15, 10:35 AM|
|Seen: 2348 times|
|Last updated: 6/29/15, 2:12 PM|