nicorithner / rails_engine

Turing Module 3 - Api rails app exercise
0 stars 0 forks source link

Update Record End Point #6

Closed nicorithner closed 3 years ago

nicorithner commented 3 years ago

2a. ReST Endpoints

You will need to expose Restful API endpoints for both Items and Merchants.

The endpoints you need to expose are:

Update Record

This endpoint should update the corresponding record and render a JSON representation of the updated record. The URI should follow this pattern: PATCH /api/v1/<resource>/:id