I am currently building an Angular5 application where I am using an interceptor to add the api_key and secret_key to check for domain availability. However the GET request fails on preflight. I have tested it using curl and work perfectly.
Is there any work around or is there something i am missing ?
The response is 403 forbidden as CORS doesn't seem to be enabled for preflight.
Unfortunately i couldn't get angular to make the api requests, what I ended up doing was creating an endpoint on my golang back end which will hit godaddy and pass the results back to the angular client.