【发布时间】:2020-11-09 01:31:56
【问题描述】:
我需要一些帮助。 所以,我想调用这个 API 并在我的网站上显示它给出的文件
这是链接:
https://ogramcloud.com/api/download/061b78fb83ee928748b78bc7ee9f3e98
它会生成这个:
{
"download_link": "http://ogramcloud.com/static/files/Fly_Me_to_the_Moon_Evangelion_OST.mp3",
"file_key": "061b78fb83ee928748b78bc7ee9f3e98",
"message": "file restored successfully !",
"status": "success"
}
我需要调用它并在我的网站上将http://ogramcloud.com/static/files/Fly_Me_to_the_Moon_Evangelion_OST.mp3 显示为<audio>。
我该怎么做呢?
【问题讨论】:
标签: javascript html api dom frontend