我尝试使用restassured测试我的rest端点。响应总是一个html文档,尽管我将accept-header设置为"application/json“。 *java.lang.IllegalStateException:无法分析对象,因为在响应中未指定受支持的内容类型。Content-Type为'text/html;charset=utf-8‘。 main DEBUG org.apache.http.wire - << "HTTP Status 400 0xe20x93 Bad Request*“ 编辑:在邮递员中,它处理相同的请求。 myClass