postman请求 400 bad request

使用postman请求时,出现

HTTP Status 400 – Bad Request




Type Status Report


Description The server cannot or will not process the request due to something that is perceived to be a
client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

发现postman隐藏的头里的


Host 和 User-Agent 没设置会出现这个问题

你可能感兴趣的:(postman请求 400 bad request)