There was an error while loading. Please reload this page.
1 parent 7054715 commit 480f354Copy full SHA for 480f354
1 file changed
README.md
@@ -1,15 +1,3 @@
1
# Coursework
2
3
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