We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db75b1f commit 701565dCopy full SHA for 701565d
.learn/exercises/07.1-test-post-todo/README.es.md
@@ -5,7 +5,7 @@ Hasta ahora esto lo que tienes sobre el endpoint `POST /todos`, tomate el tiempo
5
```python
6
@app.route('/todos', methods=['POST'])
7
def add_new_todo():
8
- request_body = request.data
+ request_body = request.json
9
print("Incoming request with the following body", request_body)
10
return 'Response for the POST todo'
11
```
0 commit comments