YouTube Mp3 Downloader

フリーミアム
よって Vijay Prajapati | 更新済み 20 дней назад | Video, Images
人気

9.7 / 10

レイテンシー

14,774ms

サービスレベル

90%

Health Check

N/A

すべてのディスカッションに戻る

Downloading Audio File

Rapid account: L 200909
l200909
5 месяцев назад

I want to automate the downloading of the audio by sending an axios request on the response link for my project. But I get a cors error, do you know how I can fix it?

Rapid account: Coder 2077
coder2077 Commented 5 месяцев назад
Rapid account: 420 Vijay 47
420vijay47 Commented 5 месяцев назад

CORS errors happen because you are requesting the API outside your domain. You can create a custom script on your own website and inside that script, you can call the rapidAPI API to get the response. This way, browser will call the script located on your domain and, your script will call the API (server to server), thus avoiding CORS errors.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿