Restful-Booker

Number of APIs: 10

Welcome to Restful-Booker!

Can you find all the bugs in this API?

Welcome to Restful-booker an API that you can use to learn more about API Testing or try out API testing tools against. Restful-booker is a Create Read Update Delete Web API that comes with authentication features and loaded with a bunch of bugs for you to explore.

Where is the API?

You can find the code for Restful-booker on GitHub here: https://github.com/mwinteringham/restful-booker

You can find a deployed instance at https://restful-booker.herokuapp.com/

The API comes pre-loaded with 10 records for you to work with and resets itself every 10 minutes back to that default state. It also comes with detailed API documentation to help get you started with your API testing straight away.

  1. /booking - GetBookingIds (Filter by name) GET {{host}}/booking?firstname={{$randomFirstName}}&lastname={{$randomLastName}}

  2. /booking - GetBookingIds (Filter by date) GET {{host}}/booking?checkin=2022-01-01&checkout=2022-01-31

  3. /booking - CreateBooking (URL) POST {{host}}/booking

  4. /auth - CreateToken POST {{host}}/auth

  5. /booking/:id - UpdateBooking (URL) PUT {{host}}/booking/1

  6. /booking/:id - PartialUpdateBooking (URL) PATCH {{host}}/booking/1

  7. /booking/:id - DeleteBooking DELETE {{host}}/booking/1

  8. /ping - HealthCheck GET {{host}}/ping

  9. /booking - GetBookingIds (Query all IDs) GET {{host}}/booking

  10. /booking/:id - GetBooking GET {{host}}/booking/1