Closed maaxolofsson closed 2 hours ago
Implemented GET endpoints (getAll, getById) for posts. Also updated API spec to reflect this. Tested the endpoints using Insomnia.
You can test this out by visiting the get endpoints /posts and post/id.
How it looks in insomnia: Get posts by id
Get all posts
Approved
Implemented GET endpoints (getAll, getById) for posts. Also updated API spec to reflect this. Tested the endpoints using Insomnia.
You can test this out by visiting the get endpoints /posts and post/id.