获取图片
/api/platform/v1/file/imgFromWalltech |
GET |
参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
sessionId | String | 是 | 登录会话ID |
language | String | 是 | 语言 |
语言取值:
值 | 说明 |
|---|---|
zh_CN | 中文 |
en_US | 英文 |
参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
imageId | String | 是 | 图片ID,通过上传图片接口获得 |
curl 'https://tracking-qa.etowertech.com/api/shipper/v1/file/imgFromWalltech?imageId=4E166BBEE2224571B2EB4711242C35D8' \ -H 'Accept: application/json, text/plain, */*' \ -H 'language: zh_CN' \ -H 'sessionId: Gih8jxRLTL6lQjC3T76QUA' \ -H 'Accept-Language: zh-CN,zh;q=0.9' \ -O |
响应为二进制图片文件,Content-Type 为 application/octet-stream
响应头示例:
HTTP/1.1 200 OK Content-Type: application/octet-stream Content-Disposition: attachment; filename=248840.jpg Cache-Control: no-cache |
字段 | 类型 | 说明 |
|---|---|---|
Content-Type | String | 固定为 application/octet-stream |
Content-Disposition | String | 包含原始文件名,格式为 attachment; filename=xxx |