Comments (2)
Al Salaamu Alaykum.
Sorry I've just seen this. There are no API keys - it's like a problem on your local environment and the browser will be blocking the request.
Can you share your code and we can try and help.
from alquran.cloud.
A salamu Alaykum.
Here what I got if I try to fetch an image an audio in frontend using js.
this the code. You can Test It:
This code is just for consoling it out
fetch("http://cdn.alquran.cloud/media/image/2/255").then(res => {
console.log(res);
}).catch(error => {
console.error(error);
});
And this one for getting the image (blob) data
fetch("http://cdn.alquran.cloud/media/image/2/255").then(res => {
res.blob();
}).then(blob => {
// uncomment the code below to see the image data in the console
// console.log(blob);
return blob;
}).catch(error => {
console.error(error);
});
from alquran.cloud.
Related Issues (20)
- Question HOT 1
- getting Audio File path with API HOT 1
- CDN sending null responses. HOT 9
- QURAN TEXT ISSUE showing small Mim (إقلاب ميم) in wrong places HOT 21
- highlighter on verses in image of quran HOT 2
- Showing Wrong Translation of Aya 8:64 HOT 2
- Missing Metas
- Kitab Font: علامات الترقيم HOT 2
- Suggestion to change home page text
- The URL is not en.asad edition but the descriptions is HOT 2
- Add font download button to the "arabic font edition tester" page
- Separate basmalah and first verse
- Using Ipfs instead of cdn HOT 4
- GraphQL API HOT 2
- Unterminated quote in 2:113 HOT 2
- Tajweed Quraan in indopak font/text HOT 1
- net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) HOT 1
- Word by word segment info for Surah Audio. HOT 1
- New translation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alquran.cloud.