WebFund 2015W: Assignment 9: Difference between revisions
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
# POST /updateNote | # POST /updateNote | ||
# POST /newNote | # POST /newNote | ||
==Solutions== | |||
===GET /=== | |||
===GET /javascripts/notes.js=== | |||
===GET /getNotes=== | |||
===POST /updateNote=== | |||
===POST /newNote=== |
Revision as of 17:09, 5 April 2015
This assignment has 15 points. For each of the following five HTTP GET and POST requests:
- give a transcript of the HTTP request going out and the response returned by the ajax-notes server, as CAPTURED BY YOU using socat as discussed in Tutorial 9 (1 point),
- briefly explain how the browser made this request (did the user type an address in the URL bar or did they interact with a page, and if they interacted with a page how did that page generate that HTTP request) (1 point), and
- briefly explain what code the server ran to generate the response. (1 point)
In other words, you should be giving an HTTP request example and then explaining the browser context that generated the request and the server context that generated the response.
Submit your answers on cuLearn in a text or PDF file by 10 AM on Monday, March 30, 2015. No other formats will be accepted.
- GET /
- GET /javascripts/notes.js
- GET /getNotes
- POST /updateNote
- POST /newNote