nicorithner / rails_engine

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

Show Record End Point #4

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:

Show Record

This endpoint renders a JSON representation of the corresponding record. The URI should follow this pattern: GET /api/v1/<resource>/:id