Skip to content
Snippets Groups Projects
Commit 356cf071 authored by Mia Wang's avatar Mia Wang
Browse files

trying to request data from react

parent 22a831e7
No related branches found
No related tags found
No related merge requests found
File added
...@@ -2,7 +2,7 @@ from flask import Flask ...@@ -2,7 +2,7 @@ from flask import Flask
api = Flask(__name__) api = Flask(__name__)
@api.route('/profile') @api.route('/')
def my_profile(): def my_profile():
response_body = { response_body = {
"name": "Nagato", "name": "Nagato",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment