Skip to content

Commit 480f354

Browse files
committed
reset the readme file
1 parent 7054715 commit 480f354

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
11
# Coursework
22

33
Exercises to practice and solidify your understanding of the Decomposition module of the Software Development Course.
4-
5-
# Test application
6-
7-
You can test your application by running some curl commands like:
8-
9-
`curl -X POST --data '["Bees"]' -H "X-Username: Ahmed" http://localhost:3000`
10-
11-
When testing **off-the-shelf-middleware**, add `-H 'Content-Type: application/json'` to curl request:
12-
13-
`curl -X POST --data '["Bees"]' -H 'Content-Type: application/json' -H "X-Username: Ahmed" http://localhost:3000`
14-
15-
This is because express middleware parses JSON only when JSON header is set.

0 commit comments

Comments
 (0)