Assistance with a DELETE request in Postman


  • QA Engineer

    I'm attempting to create some API tests to assist with getting familiar with API automation and I'm using the really helpful Restful-Booker API for this. The API documentation is also here.

    However I’m having an issue with the DELETE request as given below

    enter image description here

    I’ve initially created a booking, then I’m looking to delete it but whenever I run the request through Postman I get a 403 Forbidden error as below.

    enter image description here

    Would someone be able to point me in the direction where I may be going wrong with this.



  • You need to provide token generated create Token API here in header under cookie field.

    and URL used in not as mentioned in API

    https://restful-booker.herokuapp.com/booking/{bookingID}

    Please check the screenshot here.

    enter image description here

    enter image description here



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2