YouTube Mp3 Downloader

FREEMIUM
By Vijay Prajapati | Updated 8 days ago | Video, Images
Popularity

9.7 / 10

Latency

22,766ms

Service Level

97%

Health Check

N/A

Back to All Discussions

Downloading Audio File

Rapid account: L 200909
l200909
4 months ago

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: 420 Vijay 47
420vijay47 Commented 4 months ago

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.

Join in the discussion - add comment below:

Login / Signup to post new comments