QuestionQ254

Understanding and Using APIs

Which status code does a REST API use to show that the submitted payload is invalid?

  • A 400
  • B 403
  • C 405
  • D 429
Explanation

HTTP 400 (Bad Request) indicates that the server cannot process a request because it is invalid, malformed, or otherwise contains an incorrect payload.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!