Hi
i knew that there are lot of answers to this, but since i am new to APIs not able to follow.
and i am using API Scan in tosca automation tool to send the POST request.
so please suggest me what is the exact payload to attach a file.
FYI: i am using the below one
{
"attachment" : {
"filename" : "c:\path\test.txt"
}
}
and source as : rest/api/2/issue/TEST-123/attachments
and the headers are :
Accept : application/json
X-Atlassian-Token : nocheck
Thanks
Chandra