An online markdown blog and knowledge repository.
Which HTTP method would you use to update a record through an API?
PUT is used to update an existing record.
Which REST methods require an ID parameter?
DELETE and UPDATE require the parameter
:id
What’s the relationship between REST and CRUD?
REST CRUD Meaning
---- ---- -------
POST => Create Add an item to the server
GET => Read Read one or more item values from the server
PUT => Update Update an existing item at the server
DELETE => Delete Remove an existing item from the server
If you had to describe the process of creating a RESTful API in 5 steps, what would they be?
CRUD Basics
Speed Coding: Build a CRUD API