我正在尝试访问公开 pdf 文件的 Rest 服务,但在调用该过程时收到此响应:
{
"errors": [
"Failed to parse the payload from backend (procedure: HttpRequest)"
],
"info": [
],
"isSuccessful": false,
"responseHeaders": {
"Content-Type": "application\/octet-stream; type=\"application\/xop+xml\"; boundary=\"uuid:****************\"; start=\"<pdf>\"; start-info=\"application\/pdf\"",
"Date": "Thu, 07 Nov 2013 14:44:54 GMT",
"Server": "Apache-Coyote\/1.1",
"Transfer-Encoding": "chunked",
"X-Powered-By": "Servlet 2.5; **********",
"content-disposition": "attachment; filename = ********.PDF"
},
"responseTime": 5329,
"statusCode": 200,
"statusReason": "OK",
"totalTime": 9923,
"warnings": [
]
}
我可以使用工作灯适配器获取 pdf 文件吗?有没有其他方法?