1

I have to make a requisition (http) to blob azure in angular, but I dont know if the image exist. And this make the console show "error 404".

its possible to blob returning a default image, and not returning "error 404"?

1 Answer 1

1

Given that blobs are general-purpose (they can store anything), there's no concept of a "default image." Abstracting a bit, there's no such thing as a "default blob" either. You would need to check for the blob's existence before embedding the blob link into your HTML. And you can do that via an SDK call (e.g. call exists() on a blob object), or execute a REST call against the object in question.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.