Question: ## 4 : Our API should be able to retrieve all messages. As a user, I should be able to submit a GET request on
## : Our API should be able to retrieve all messages.
As a user, I should be able to submit a GET request on the endpoint GET localhost:messages
The response body should contain a JSON representation of a list containing all messages retrieved from the database. It is expected for the list to simply be empty if there are no messages. The response status should always be which is the default.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
