Rest API - HTTP Status Codes
What will happen if a REST API receives this HTTP request with a malformed JSON payload?
POST /api/register HTTP/1.1
Content-Type: application/json
{"email": "user@example.com", "password": "pass123"What will happen if a REST API receives this HTTP request with a malformed JSON payload?
POST /api/register HTTP/1.1
Content-Type: application/json
{"email": "user@example.com", "password": "pass123"15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions