RESTful Web Services
You are going to enhance CoffeeRun by using a remote web service to store your application data. The server you will use has been created specifically for this book.
The CoffeeRun server provides a RESTful web
service. “REST” stands for “representational
state transfer,” which is a style of web service that relies
on HTTP verbs (GET
, POST
, PUT
, DELETE
) and URLs that
identify resources on the server.
Frequently, the URL path (the part that comes after the server name)
will refer either to a collection of things (such as /coffeeorders
) or
to individual things, specified by an ID (such as /coffeeorders/[customer email]
).
This difference affects how the HTTP verbs apply. For example, when working with a collection, ...
Get Front-End Web Development: The Big Nerd Ranch Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.