Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Wednesday, July 28th at 3pm PST / 6pm EST. Learn more
  • GoDaddy Community
  • VPS & Dedicated Servers
  • VPS & Dedicated Servers

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 

    Angular 5 get not working

    Good day

     

    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.

     

    regards

     

    Miles

    2 REPLIES 2

    Hi,

     

      Have you managed to install Angular 4+? We are into the same boat. Any guidance would be helpful.

     

    Trush

    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.