Sunday, July 16, 2017

26/06/2017


Express Router and Routes

 

 The HTTP Verb used to access it. 

 

Route  HTTP Verb          Description
/api/bears     GET Get all the bears.
/api/bears     POST Create a bear.
/api/bears/:bear_id     GET Get a single bear.
/api/bears/:bear_id     PUT Update a bear with new info.
/api/bears/:bear_id     DELETE Delete a bear.

No comments:

Post a Comment

HTML introduction

HTML stands for Hyper Text Markup Language. HTML describes the structure of web page using markup. HTML elements are the building blo...