CC錄音檔案流
https://api.laaffic.com/v3/voice/getVoiceFile
參數 | 説明 | 是否必填 | 類型 |
---|---|---|---|
voiceFileId | 查詢介面傳回的錄音URL(voiceUrl) | 是 | String |
Request URL:
https://api.laaffic.com/v3/voice/getVoiceFile
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
文件模板下載失敗
點擊此處開啟人工服務