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
Hi, You can include an Apex merge field in a prompt template to surface data retrieved from a SOQL query or an external API. Apex is also u...
No comments:
Post a Comment