Which HTTP status code is the correct response for a request with an incorrect password applied to a REST API session?

技术

QUESTION
Which HTTP status code is the correct response for a request with an incorrect password applied to a REST API session?
A. HTTP Status Code: 200
B. HTTP Status Code: 302
C. HTTP Status Code: 401
D. HTTP Status Code: 504


Correct Answer: C


Section: (none)
Explanation
Explanation/Reference:
Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注