for testing we use
PATH\\chrome.exe" --disable-web-security --user-agent="Android"
--user-data-dir="C:\temp-chrome-eng"
to resove Access-Control-Allow-Origin
On Saturday, June 24, 2017 at 1:25:22 PM UTC+5:30, Steven Scott wrote:
>
> I tried to use followings, but get 404 error.
> return
> this.http.get("https://www.googleapis.com/auth/contacts/"+data.email+"/full?alt=json&access_token="
>
> + data.token + "&max-results=1000&v=3.0" ).map((response:Response) =>
> response.json());
>
> No 'Access-Control-Allow-Origin' header is present on the requested
> resource. Origin 'http://localhost:3000' is therefore not allowed access.
> The response had HTTP status code 404.
>
> Any ideas how to fix it?
>
>
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.