0
joe704la created
Is the Angular 4 version setup to send Antiforgery token with the PUTs, POSTs, and DELETEs? I was watching the posts in the dev tools and I do not see any Antiforgery token.
5 Answer(s)
-
0
Does anyone have any ideas on this one?
-
0
Hi,
Angular 4 does not set anti-forgery tokens because it is not needed. Angular4 client and host application are two different applications.
Why do you need it ? Can you explain a bit more ? Maybe we can offer you something.
Thanks.
-
0
Basically I wanted to make sure nothing else was making requests to the API but the Angular app.
-
0
Hi,
This is done with Cors setting. You can only allow specific url's to make request to your API.
If you want to block non browser apps, you should do it manually I think.
Thanks.
-
0
Okay great, thank you