Commit 2092781e authored by Dr. Daniel Diaz Sánchez's avatar Dr. Daniel Diaz Sánchez
Browse files

Update README.md

parent 25c925b4
...@@ -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)
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment