Skip to content

Commit bcc93fc

Browse files
authored
Merge pull request #83 from JoseGermanx/patch-1
Update README.md
2 parents 502accf + 86ab446 commit bcc93fc

File tree

1 file changed

+1
-1
lines changed
  • .learn/exercises/07.1-test-post-todo

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This is what you should have so far for the `POST /todos` endpoint. Take some ti
55
```python
66
@app.route('/todos', methods=['POST'])
77
def add_new_todo():
8-
request_body = request.json
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)