Unable to DELETE Booking

I’m using the Restful Booker practice API and trying to get the DELETE method to work but i’m getting 403 forbidden.

I tried it with the Cookie and Authorization header suggested and I doesn’t work.

I was able to get the token from the POST auth.

Using the
DELETE API to delete the booking

Hi @khoale84 ,

Looking at the API documentation, they do support Cookie and Basic authentication options. I am excluding Cookie auth for now since Cookies are not suitable for stateless API authentication.

For Basic authentication, can you please make sure to:

  • Select Basic Authentication from the Authorization tab.
  • Then type in your username & password.

Alternatively, you can look into creating a Cookie using the Postman Cookie manager (Click the Cookies button in the request screen, below the Send button) and inject it into the request.


More on it in: Create and capture cookies using Postman’s cookie manager | Postman Learning Center

Hope this helps :rocket:!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.