Skip to content
CodeKruPro

Unsupported method on an endpoint

QuizEasy-Medium

The endpoint /reports supports only GET and POST. A test sends PATCH /reports. What is the correct response?

  • 405 Method Not Allowed with an Allow header such as Allow: GET, POST
  • 404 Not Found
  • 400 Bad Request
  • 501 Not Implemented

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in