You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All responses should be in JSON. There is a commented out example in my index.js
20
30
21
-
### Notes
31
+
Some other notes:
32
+
- All responses should be in JSON.
33
+
- Try to apply the MVC model to your file structure. It will save you time in following assignments!
34
+
- Test your API using Postman.
35
+
- There is a commented out example in my index.js
22
36
23
-
A front-end html page that makes the correct calls and displays the results is supplied.
24
37
25
-
Don't edit the html page. If you find en error in the page please let me know straight away so I can fix it for everyone.
26
38
27
-
I have supplied a skeleton index.js that serves the home page at http://localhost:8080/. You can build on it or create your own.
39
+
### Notes
28
40
29
-
Retrieving the body of a POST is not obvious. Please read the documentation here: https://nodejs.org/en/docs/guides/anatomy-of-an-http-transaction/ and remember to think async.
41
+
We have supplied a skeleton index.js that serves the home page at http://localhost:8080/. You can build on it or create your own.
30
42
31
-
Please excuse the ugliness of my html! I will try to pretty it up later but I will not change any logic.
43
+
Retrieving the body of a POST is not obvious. Please read [the documentation here](https://nodejs.org/en/docs/guides/anatomy-of-an-http-transaction/) and remember to think async.
0 commit comments