I use the POST HTTP command to tokenize a credit card. The whole process is described here: https://developer.payeezy.com/payeezy-api/apis/post/transactions/tokens. I set up the 6 Header Parameters as per the documentation: the API Key, the Merchant Token, the content type, the Authorization, the nonce and the timestamp. I get this error when I try to make the HTTPS call:
Failed to load https://api-cert.payeezy.com/v1/transactions/tokens: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. The response had HTTP status code 500.
The call is made from an Angular application that is running on my development machine, on port 4200. Any idea what is going wrong?