API - Cloud file attachment

Hi,  I am working on to create a freshdesk ticket within salesforce. The problem I am facing is in attaching the files using API. As per documentation attachments[] only accepts absolute file path (eg. /usr/path/test.txt). However, if i am creating ticket from salesforce, i need to give file URL like https://my.salesforce.com/filepath/test.txt. How can i pass file URL in json API. 


Thanks

Login or Signup to post a comment