What is a response — CCA-F Exam Prep

×
L0.140
REAL STORYA person at their mailbox holding two envelopes. One is thick and has a green checkmark stamp. The other is thin with a red 'RETURN TO SENDER' stamp. Both came from the same company. Same mailbox, very different outcomes.

A developer shipped code that silently deleted 47,293 customer records. The server said everything was fine.

The API returned status 200 -- the universal code for 'success.' The developer's code saw 200, assumed all was well, and moved on to the next task.

But buried in the response body was a warning: 'update applied to ALL records. 47,293 records modified.' The developer never read the body. They only checked the status code.