I'm building a React app on localhost:5173 and trying to fetch data from a payment provider's API. postman returns teh data perfectly. the browser gives me this:
The console says teh request has been blocked by CORS policy, no Access-Control-Allow-Origin header is present. i dont understand why teh same request works in one tool and not the other. Is this something i fix in my code or on the API side?? A plain explanation would honestly help as much as the fix itself. thx in advance!!