Alessandro, the solution depends on your backend language. Yesterday I was
enabling CORS for PHP. My code:

===
header("Access-Control-Allow-Origin: *");
===

I put a wildcard "*" for my API.

--
Rafael Bernard Rodrigues Araújo
about.me/rafaelbernard
Analista de Tecnologia | Hospedagem de sites - http://oservidor.com

On Thu, Apr 9, 2015 at 12:12 PM, Alessandro <[email protected]>
wrote:

> I write my webApp that use tha angularJs and it send a request to server
> for return Json!
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to