i create a login page in wix and I use onclick event in wix and call api but in return, i receive an error 403. I try in postman it works fine. but in wix it did not work fine
You will need to read about how to access 3rd party services in the article Wix Code: How to Access 3rd-Party Services with the Fetch API .
Take a look at the Advanced examples , many of them access 3rd party services. A couple of good examples to start with are: Example: Using the Places API from Google Maps services and Example: Send email with the SendGrid REST interface .
Good luck