Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
distributed-computing-assignements
2-restAPIs-1-develop-rest-api
Commits
2092781e
Commit
2092781e
authored
Oct 12, 2021
by
Dr. Daniel Diaz Sánchez
Browse files
Update README.md
parent
25c925b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
2092781e
...
@@ -130,3 +130,11 @@ def handle_estructurada():
...
@@ -130,3 +130,11 @@ def handle_estructurada():
}
}
return
jsonify
(
libro
),
200
return
jsonify
(
libro
),
200
```
```
5.
Finalmente, se arranca el servidor web (integrado en Flask que usa Werkzeug o Gunicorn como WSGI server) que proporcionará el API rest:
```
python
if
__name__
==
'__main__'
:
app
.
run
(
host
=
'127.0.0.1'
,
port
=
8080
,
debug
=
True
)
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment