Bearer token And Basic auth (htpassword protected site)

Is it possible to submit a post request with a bearer token on a .htpassword protected site ? We have a preproduction server protected by a simple .htaccess and .htpassword and all calls to our api fail (unauthorized) so how is it possible to send both a bearer token protected and basic auth protected request ?
Thanks for your help.

Hey! First I’d like to welcome you to the Postman community and congrats on your first post! :confetti_ball:

Have you tried using both the Authorization tab and the Headers tab to setup your requests?
For example, you could use the Authorization tab for your bearer token but then the Headers tab for the Basic Auth.

Hope this helps! :smile:

You can send request with both auth keys, but it wouldn’t be accepted by the server as both request uses the same key Authorization .
So, the answer is no, you cant use both authorization requests at the same time.