nicorithner / rails_engine

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

Create Record End Point #5

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:

Create Record

This endpoint should create a record and render a JSON representation of the new record. The URI should follow this pattern: POST /api/v1/<resource>