How come something like that is still not solved after 4 full years ?
XSRF is highly configurable in most server side technology, it should be the same on frontend side.
I need to interact with a backend that checks XSRF on each request with header "application/json", whatever the http method is.