/
🟩

Introducing to API

NodeJS
Table of contents
  • What is Rest meaning?
  • What can we do with API?
  • Important rule
  • Http Method

What is Rest meaning?

Representational State Transfer

What can we do with API?

  • Create
  • Read
  • Update
  • Delete And we say CRUD Operations

Important rule

When we build api we should use 'api' in url like one of these:

  • http://example.com/api/movies
  • http://api.example.com/movies

Http Method

  • GET for Read data
  • POST for Create data
  • PUT for Update data
  • DELETE for Delete data
logo
Hi Mohsen save your notes