test for successful Post Request

POST {{baseUrl}}/books

Adds a book to the Library. Books added by users are deleted from the library 12 hours after they have been created.

Request Body

{"title"=>"{{bookTitle}}", "author"=>"{{$randomFullName}}", "genre"=>"fiction", "yearPublished"=>2023}

RESPONSES

status: Created

{"message":"OK"}