Is there something like Retr0bright but already made and trustworthy? Thanks for contributing an answer to Stack Overflow! You would apply some code to shape a custom response before the return statement. To send data, use a data method such as POST, and pass the body option. As of Flask 1.1, the return statement will automatically jsonify a dictionary in the first return value. Send the outputData from Javascript to Python with a POST call to postmethod and use the form variable canvas_data. . Then the client can make a Why does the sentence uses a question form, but it is put a period in the end? Stack Overflow for Teams is moving to its own domain! return response_body Then I can get the json value directly: response.data.test123. JSON is a compact, readable text format for structuring data. Instead of submitting an HTML
send json from flask to javascript
ブログ