Preview:
image_file = invokeurl
[
  url: link1
  type: GET
];
info image_file;
image_file.setParamName("image");
response = invokeurl
[
  url : "https://inventory.zoho.com/api/v1/items/" + id + "/image?organization_id=" + organizationID
  type: POST
  files:image_file
  connection:"zohoinventory"
];
info response;
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter