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
41ca8cf5
Commit
41ca8cf5
authored
Oct 13, 2021
by
DANIEL DIAZ SANCHEZ
Browse files
Update README.md
parent
a8ca876b
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
41ca8cf5
...
...
@@ -67,7 +67,7 @@ Vamos a ver el código de un servicio REST que dará un `Hello World` en la ruta
Crea un fichero llamado
`main.py`
en la carpeta
`~/cdist/rest`
usando Atom o tu editor favorito. El código del servidor es:
```
python
from
flask
import
Flask
,
request
from
flask
import
Flask
,
request
,
jsonify
app
=
Flask
(
__name__
)
@
app
.
route
(
"/"
)
...
...
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