Hi Sander,

Thanks for your quick answer. 

I'm receiving the error: Response for preflight has invalid HTTP status 
code 400.

I was trying with Postman and Httpie and it works, do you know what can be 
the problem? I'm lost. All the googling confirm I'm right, but I'm missing 
something.

Thanks,

Rafa


El dimarts, 19 juliol de 2016 9:26:38 UTC+2, Sander Elias va escriure:
>
> Hi Rafa,
>
>
> $http.post('http://localhost:8000/app_dev.php/api/admin/users/user', 
> Object.toparams(datos),
>  {
>   headers: {
>       "apikey": myApikey
>     }
>  }
>
> should do the trick.
>
>
>

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to