Nithinss1 / Album-Crud

MIT License
0 stars 0 forks source link

Create API Routes #2

Open Braagaa opened 2 years ago

Braagaa commented 2 years ago

Create API routes with the following:

GET /api/albums -> Return text Get Albums -> 200 GET /api/albums/:id -> Return text Get Album -> 200 PUT /api/albums/:id -> Return text Updated Album -> 200 POST /api/albums -> Return text Created Album -> 201 DELETE /api/albums/:id -> Return text Deleted Album -> 204

NOTES

Nithinss1 commented 2 years ago

Get and put request completed, working on post and delete.