Difference between revisions of "WebFund 2015W: Assignment 9"

From Soma-notes
Jump to navigation Jump to search
(Created page with "'''This assignment is not yet finalized.''' This assignment has 15 points. For each of the following five HTTP GET and POST requests: * give a transcript of the HTTP request...")
 
Line 3: Line 3:
This assignment has 15 points.  For each of the following five HTTP GET and POST requests:
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 [http://homeostasis.scs.carleton.ca/~soma/webfund-2015w/code/ajax-notes.zip ajax-notes] server, as CAPTURED BY YOU (1 point),
* give a transcript of the HTTP request going out and the response returned by the [http://homeostasis.scs.carleton.ca/~soma/webfund-2015w/code/ajax-notes.zip ajax-notes] server, as CAPTURED BY YOU (1 point),
* briefly explain how the browser made this request (one point), and
* 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) (one point), and
* briefly explain what code the server ran to generate the response. (2 points)
* 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.
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.



Revision as of 13:01, 23 March 2015

This assignment is not yet finalized.

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 (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) (one 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.

  1. GET /
  2. GET /javascripts/notes.js
  3. GET /getNotes
  4. POST /updateNote
  5. POST /newNote