CORE_IMAGE_SHOW, CORE_FILE_READ_BINARY CORE Endpoint
  /rpc/core/?method=CORE_IMAGE_SHOW, /rpc/core/?method=CORE_FILE_READ_BINARY  
  Return a binary stream of a a file. Useful for combining with an IMG tag, or downloading a pdf directly to a browser window

eg. img src='/rpc/core/?method=CORE_IMAGE_SHOW&id=123456'
 
  Notes: Supports files of type jpg, jpeg, gif, png, and pdf.
  PARAMETERS Type  
  ContentType Text Files of extension types of jpg, jpeg, png, gif, and 'pdf' default, otherwise it is mandatory
  Id Numeric The attachment link ID.
  RETURN  
  image Binary stream of the image