Difference between revisions of "Emergent Web Technologies Spring 2009 Class 8"

esse quam videri
Jump to: navigation, search
(New page: == Introduction == This week, I want to give you a quick introduction to HTTP and then show you how a RESTful architecture takes advantage of HTTP to simplify the sharing of resources acro...)
 
m
Line 3: Line 3:
  
 
== Activity 1 ==
 
== Activity 1 ==
 +
 +
Make sure that you have the [http://getfirebug.com/ Firebug] and [https://addons.mozilla.org/en-US/firefox/addon/3829 Live Headers] Firefox Add-ons installed. You can get them [http://getfirebug.com/ here] and [https://addons.mozilla.org/en-US/firefox/addon/3829 here].
  
 
Go to http://twitter.com and open up the Firebug Console by clicking on the little Firebug in the lower right corner of the browser.
 
Go to http://twitter.com and open up the Firebug Console by clicking on the little Firebug in the lower right corner of the browser.
Line 16: Line 18:
 
You can also open up the Live Headers add-on to see the requests as they take place.  
 
You can also open up the Live Headers add-on to see the requests as they take place.  
  
Try the same thing on some other pages and see what the requests and responses look like.
+
Try the same thing on some other pages and see what the requests and responses look like.
 
 
 
 
 
 
 
 
 
 
== Activity 1 ==
 
Make sure that you have the [http://getfirebug.com/ Firebug] and [https://addons.mozilla.org/en-US/firefox/addon/3829 Live Headers] Firefox Add-ons installed. You can get them [http://getfirebug.com/ here] and [https://addons.mozilla.org/en-US/firefox/addon/3829 here].
 

Revision as of 20:24, 18 March 2009

Introduction

This week, I want to give you a quick introduction to HTTP and then show you how a RESTful architecture takes advantage of HTTP to simplify the sharing of resources across the Web.

Activity 1

Make sure that you have the Firebug and Live Headers Firefox Add-ons installed. You can get them here and here.

Go to http://twitter.com and open up the Firebug Console by clicking on the little Firebug in the lower right corner of the browser.

Click on the checkbox next to Net and click the button that says "Apply settings for twitter.com".

Go to the Net tab and reload the page.

You should see a list of requests that were made to http://twitter.com, http://assets0-3.twitter.com and to http://google-analytics.com.

Expand one of the requests to see what the request looked like. Switch between the Headers and the Response tabs to see what the request and response headers and the entity body of the response looked like.

You can also open up the Live Headers add-on to see the requests as they take place.

Try the same thing on some other pages and see what the requests and responses look like.