Sunday, 24 January 2021

How to Convert Image URL to Blob Content

 Here,

We are going to learn how we can convert Image URL to Blob Content with the help of PageReference.

Sample Example:

PageReference page = new PageReference(ImageUrl);

Blob body = page.getContent();

Note: getContent() method considers a callout

No comments:

Post a Comment

Mastering Agentforce: The Power of Agent Script

Hi, In the rapidly evolving world of AI, the challenge for developers has always been balancing the creative reasoning of Large Language Mod...