DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
API Development Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
API Development
Why should signature verification be performed over the RAW received body, not a re-serialized version of the parsed payload?
A
Raw vs re-serialized makes no difference to signature verification
B
Re-serialization can produce byte-for-byte different output even for semantically identical content (key ordering, whitespace), causing a false verification failure against a signature computed over the original raw bytes
C
Re-serialization is always faster and should be preferred
D
Raw body verification is only needed for JSON payloads, never other formats
Check Answer