×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: kushedow Кушедов
Added: Oct 16, 2021 2:39 PM
Modified: Dec 12, 2021 8:33 AM
Views: 2340
Tags: no tags
  1. @app.route('/api/', methods=["POST"])
  2. def get_json():
  3.     data = request.json.get("data")
  4.     return jsonify({"name": "sveta"})
  5.