diff --git a/dip3.css b/dip3.css index 5a3b6c1..4a7a553 100644 --- a/dip3.css +++ b/dip3.css @@ -102,9 +102,10 @@ abbr { } .f:first-letter { float: left; - color: lightblue; + color: lightsteelblue; padding: 0.11em 4px 0 0; font: normal 4em/0.68 serif; + text-shadow: steelblue 1px 1px 1px; } p, ul, ol { margin: 1.75em 0; @@ -130,7 +131,7 @@ body { .a { font-size: xx-large; line-height: .875; - color: #444; + color: #82b445; } form div, #level { float: right; @@ -152,7 +153,7 @@ a:link, .w a { color: steelblue; } a:visited { - color: darkorchid; + color: #b44582; } .c a { color: inherit; @@ -267,7 +268,9 @@ aside { -webkit-border-radius: 1em; border-radius: 1em; } - +#level span { + color: #82b445; +} /* previous/next navigation links */ .nav a { diff --git a/http-web-services.html b/http-web-services.html index a7e972e..e93cfa6 100644 --- a/http-web-services.html +++ b/http-web-services.html @@ -21,9 +21,9 @@ mark{display:inline}

 

Diving In

-

HTTP web services are programmatic ways of sending and receiving data from remote servers using the operations of HTTP directly. If you want to get data from the server, use a straight HTTP GET; if you want to send new data to the server, use HTTP POST. (Some more advanced HTTP web service APIs also define ways of modifying existing data and deleting data, using HTTP PUT and HTTP DELETE.) In other words, the “verbs” built into the HTTP protocol (GET, POST, PUT, and DELETE) map directly to application-level operations for receiving, sending, modifying, and deleting data. +

HTTP web services are programmatic ways of sending and receiving data from remote servers using nothing but the operations of HTTP. If you want to get data from the server, use HTTP GET; if you want to send new data to the server, use HTTP POST. Some more advanced HTTP web service APIs also define ways of modifying existing data and deleting data, using HTTP PUT and HTTP DELETE. In other words, the “verbs” built into the HTTP protocol (GET, POST, PUT, and DELETE) map directly to application-level operations for retrieving, creating, modifying, and deleting data. -

The main advantage of this approach is simplicity, and its simplicity has proven popular with a lot of different sites. Data -- usually XML data -- can be built and stored statically, or generated dynamically by a server-side script, and all major programming languages (including Python, of course!) include an HTTP library for downloading it. Debugging is also easier; because each “call” to the web service had a unique URL, you can load it in your web browser and immediately see the raw data. +

The main advantage of this approach is simplicity, and its simplicity has proven popular with a lot of different sites. Data — usually XML data — can be built and stored statically, or generated dynamically by a server-side script, and all major programming languages (including Python, of course!) include an HTTP library for downloading it. Debugging is also easier; because each “call” to the web service had a unique URL, you can load it in your web browser and immediately see the raw data.

Examples of HTTP web services:

© 2001–9 Mark Pilgrim