How to fix server is refusing rest Api request?

Hey there I am working on project where I need to use rest APIs for send and received data from andriod application I test my API in local xampp server by using postman and It works pretty fine
But When upload my code to the server and hit request from POSTMAN it gives me an error
Here the error

Here look you can see I set Access-Control-Allow-Origin to *(all request) but still I get error

Kindly help me to fix this error Thank you

Can you view the API docs for this API? They may list solutions to a 403 error as you seem to be doing everything right.

OP says it’s his API.

OP, post the relevant code

1 Like

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