🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: CSRF and CORS: all 10 questions

Quiz: CSRF and CORS · Question 6 of 10

Why must GET requests never change data?

Why must GET requests never change data?

  1. A.GET requests are slower
  2. B.A simple link or an image tag on another site can trigger a GET with the user's cookies
  3. C.GET cannot carry parameters
  4. D.Browsers cache all GET requests forever
Answer & explanation

Correct answer: A simple link or an image tag on another site can trigger a GET with the user's cookies

SameSite=Lax still sends cookies on top-level GET navigation, so GET must be read-only.

Can you get the rest right without peeking?

Take the timed Quiz: CSRF and CORS quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →