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.
2 parents 502accf + 86ab446 commit bcc93fcCopy full SHA for bcc93fc
.learn/exercises/07.1-test-post-todo/README.md
@@ -5,7 +5,7 @@ This is what you should have so far for the `POST /todos` endpoint. Take some ti
5
```python
6
@app.route('/todos', methods=['POST'])
7
def add_new_todo():
8
- request_body = request.json
+ 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