Create Bug in Zoho Project with Attachment

Create Bug in Zoho Project with Attachment

Hi All,

I am working on "Create Bug API" ( https://www.zoho.com/projects/help/rest-api/bugs-api.html#alink3). I want to upload the image as an attachment while creating the bug.

I am trying to use "uploaddoc" parameter. What will be the value format?  (Absolute Image path, Base64_encode format etc.)

Please do share the example if any exist.