参数 | 说明 | 是否必填 | 类型 |
---|---|---|---|
voiceFileId | 查询接口返回得录音URL(voiceUrl) | 是 | String |
Request URL:
https://api.itniotech.com/voice/getVoiceFile?voiceFileId=xxx
Request Method:
GET
Request Headers:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
参数 | 说明 | 类型 |
---|---|---|
response | 文件流复制到HTTP响应的输出流中,失败返回String | String |
成功示例:
HTTP/1.1 200 OK
Content-Disposition: attachment; filename="example.mp3"
Content-Type: audio/mpeg
Content-Length: 123456
(binary data)
失败示例:
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain; charset=UTF-8
文件模板下载失败