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.
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
5 Answer(s)
-
0
Does anyone have any ideas on this one?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
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.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Basically I wanted to make sure nothing else was making requests to the API but the Angular app.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
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.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Okay great, thank you
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)