-
Book Overview & Buying
-
Table Of Contents
Mastering JavaScript Single Page Application Development
By :
The most common type of RESTful request on the Web is a HTTP GET or Read operation. An example of this is a simple request to view a web page through a URL. GET requests can be performed to read any kind of data and do not need to be supported by a database, but in order to implement the Create, Update, and Delete operations on data, some type of database or data store must be used, along with a REST Application Programming Interface (API).
Performing full CRUD operations with your web application can be done using the simple NPM, Bower, and Grunt application you have been working with thus far; we just need to write some API endpoints now to make this possible. Let's go back to our application CLI to make some changes.
Before we can handle any API request data sent to our server, we have to add the ability to parse that data. In most cases, this will be data that is sent from a web page through a...