I am fairly new to using the QC Rest API to authenticate and update test runs or create defects. I would like to be able to take a screenshot and then upload that while creating a new defect. There is documentation from HP on how to add an attachment, but it just seems to pass some text in the body and attach a basic text file to the defect. Has anyone had experience with attaching a jpg or a screenshot?