包已经抓 了,第三方软件上传到七牛云,七牛云的token已经获取成功,但上传时老是报400错误。
{ statusCode: 400,
statusMessage: 'Bad Request',
headers:
{ Server: 'openresty/1.17.8.2',
Date: 'Sun, 13 Dec 2020 09:00:54 GMT',
'Content-Type': 'application/json',
'Content-Length': '31',
Connection: 'keep-alive',
'Access-Control-Allow-Headers': 'X-File-Name, X-File-Type, X-File-Size',
'Access-Control-Allow-Methods': 'OPTIONS, HEAD, POST',
'Access-Control-Allow-Origin': '*',
'Access-Control-Expose-Headers': 'X-Log, X-Reqid',
'Access-Control-Max-Age': '2592000',
'Cache-Control': 'no-store, no-cache, must-revalidate',
Pragma: 'no-cache',
'X-Content-Type-Options': 'nosniff',
'X-Reqid': 'f7wAAABwA8YaO1AW',
'X-Svr': 'UP',
'X-Log': 'X-Log' },
body:
{ string: [Function],
bytes: [Function],
json: [Function],
contentType: application/json },
request: Request{method=POST, url=
tags={}},
url:
method: 'POST' }
16:59:24.359/D: { error: 'token not specified' }
{ statusCode: 400,
statusMessage: 'Bad Request',
headers:
{ Server: 'openresty/1.17.8.2',
Date: 'Sun, 13 Dec 2020 09:00:54 GMT',
'Content-Type': 'application/json',
'Content-Length': '31',
Connection: 'keep-alive',
'Access-Control-Allow-Headers': 'X-File-Name, X-File-Type, X-File-Size',
'Access-Control-Allow-Methods': 'OPTIONS, HEAD, POST',
'Access-Control-Allow-Origin': '*',
'Access-Control-Expose-Headers': 'X-Log, X-Reqid',
'Access-Control-Max-Age': '2592000',
'Cache-Control': 'no-store, no-cache, must-revalidate',
Pragma: 'no-cache',
'X-Content-Type-Options': 'nosniff',
'X-Reqid': 'f7wAAABwA8YaO1AW',
'X-Svr': 'UP',
'X-Log': 'X-Log' },
body:
{ string: [Function],
bytes: [Function],
json: [Function],
contentType: application/json },
request: Request{method=POST, url=
tags={}},
url:
method: 'POST' }
16:59:24.359/D: { error: 'token not specified' }