Hi,
how to check ipfs hash in image/video/audio using Moralis?
i have found below solution using fetch function.
let contentType = await fetch(imageUrl)
.then(response => {
return response.blob().then(blob => {
return {
contentType: response.headers.get("Content-Type"),
raw: blob
}
})
})
.then(data => {
return data.contentType
})
I have try this solution using httpRequest but error show response.blob()
is not function.
how to achiev this using httpRequest or any other solution.
I would be so grateful if you help to sortout this.