REST stands for Representational State Transfer and it is an architectural principle of the Web. In most of the cases, we have resources on the server that need to be created, fetched, updated, or deleted. The REST APIs provide mechanisms to perform all these operations. Every resource has its own URI and based on the request method, a different action occurs. For example, let's say that we need to manage the users in our social network. To retrieve information about a specific user, we will perform the GET
request to the /user/23
address, where the number, 23
, is the ID of the user. To update the data, we will send the PUT
request to the same URL, and to delete the record, we'll send the DELETE
request. The POST
requests are reserved to create new resources. In other words, the resources' management on the server happens via HTTP requests sent to carefully selected addresses by using the GET
, POST
, PUT
, and DELETE
methods, which are very often called
HTTP verbs...
Node.js Blueprints
By :
Node.js Blueprints
By:
Overview of this book
Table of Contents (19 chapters)
Node.js Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Common Programming Paradigms
Developing a Basic Site with Node.js and Express
Writing a Blog Application with Node.js and AngularJS
Developing a Chat with Socket.IO
Creating a To-do Application with Backbone.js
Using Node.js as a Command-line Tool
Showing a Social Feed with Ember.js
Developing Web App Workflow with Grunt and Gulp
Automate Your Testing with Node.js
Writing Flexible and Modular CSS
Writing a REST API
Developing Desktop Apps with Node.js
Index
Customer Reviews