Skip to content

Commit 701565d

Browse files
authored
Update README.es.md
1 parent db75b1f commit 701565d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.learn/exercises/07.1-test-post-todo/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Hasta ahora esto lo que tienes sobre el endpoint `POST /todos`, tomate el tiempo
55
```python
66
@app.route('/todos', methods=['POST'])
77
def add_new_todo():
8-
request_body = request.data
8+
request_body = request.json
99
print("Incoming request with the following body", request_body)
1010
return 'Response for the POST todo'
1111
```

0 commit comments

Comments
 (0)