This code contains one way of answering the API challenge, which was achieved by Viv Richards and Beth Marshall combining forces.
Advanced: Create a solution/framework that allows you to test all the APIs. You’ll need to include tests for:
Branding: GET, PUT Room: GET, PUT, POST, DELETE Booking: GET, PUT, POST, DELETE Auth: POST. Login, logout, validate Report: GET Messaging: GET, POST, Bonus, test that you can mark a message as read.
The application for this challenges is the Restful Booker Platform
The tool which was used to solve the challenge was Postman.
Please import the environment variables as well as the collection and your tests should execute successfully from either the Postman Runner or when called individually.