Don't call the CDN directly, use the API to get the URL for the Ayah.
For Abdullah Basfar, call https://api.alquran.cloud/v1/surah/2/ar.abdullahbasfar
.
In that, the response for every ayah contains the URL to the CDN as shown in this screenshot:

You can also do https://api.alquran.cloud/v1/ayah/2:255/ar.abdullahbasfar
to get a specific ayah, and that response will tell you the CDN URL for that ayah.