Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

krishna8723's avatar

API is giving response for POSTMAN but from browser i am getting 403

Hi, I am doing API stuffs and the api is returning response when i test from postman but when i implement that on code and test from browser then i am getting 403 error please help. Thank You.

0 likes
4 replies
Tray2's avatar

Show us what you are trying to do in code and show us the error message.

tykus's avatar

Are you sending an Authorization header in Postman that you are not sending in the browser?

tykus's avatar

How are you sending the Authorization header in the browser?

Please or to participate in this conversation.