
C H A P T E R 1 4
■ ■ ■
225
HTTP Web Services
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 creating, modifying, and deleting data, using HTTP PUT and HTTP DELETE. In other words, the
verbs built into the HTTP protocol (GET, POST, PUT, and DELETE) can map directly to application-level
operations for retrieving, creating, modifying, and deleting data.
The main advantage of this approach ...