Link Search Menu Expand Document

CRUD Basics

Which HTTP method would you use to update a record through an API?

  • Put

Which REST methods require an ID parameter?

  • Update and Delete

CRUD to HTTP Methods

Speed Coding: Building a CRUD API

What’s the relationship between REST and CRUD?

  • CRUD is a cycle that can be mapped to REST

If you had to describe the process of creating a RESTful API in 5 steps, what would they be?

  • Identify the object model

  • Identify the URIs (routes)

  • Define the Representations

  • Assign HTTP Methods

  • Identify HTTP Status codes