400 BAD request HTTP error code meaning? - Stack Overflow2022-08-24
网页2013年10月30日 387. A 400 means that the request was malformed. In other words, the data stream sent by the client to the server didn't follow the rules. In the case of a REST API with a JSON payload, 400's are typically, and correctly I would say, used to indicate that the JSON is invalid in some way according to the API specification for the service.
了解详情