← 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?
- A.GET requests are slower
- B.A simple link or an image tag on another site can trigger a GET with the user's cookies
- C.GET cannot carry parameters
- 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 →