Question · Angular course · Module 12: Security and Performance

CSRF Threat

Which HttpClient configuration do we use to protect against CSRF attacks in Angular 19?

Answer options

  • withFetch()
  • withInterceptors()
  • withXsrfConfiguration()
  • withJsonpSupport()

You can check the correct answer by solving this task in the CodeWorlds game.