Skip to content

Commit e9e22b0

Browse files
authored
Update README.md
1 parent e4cdd62 commit e9e22b0

File tree

1 file changed

+4
-3
lines changed
  • .learn/exercises/08.1-delete-live-test

1 file changed

+4
-3
lines changed

.learn/exercises/08.1-delete-live-test/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
## `08.1` Test your endpoint
1+
# `08.1` Test your endpoint
22

3-
This is what you have so far about the `DELETE /todos/<int:position>` endpoint, take some time to analyze each line:
3+
This is what you have so far about the `DELETE /todos/<int:position>` endpoint; take some time to analyze each line:
44

55
```python
66
@app.route('/todos/<int:position>', methods=['DELETE'])
77
def delete_todo(position):
8-
print("This is the position to delete: ",position)
8+
print("This is the position to delete:", position)
99
return 'something'
1010
```
11+
1112
Use Postman, Insomnia or any other API Request Builder that you like to test your API.
1213

1314
| | |

0 commit comments

Comments
 (0)