I am trying to add an attachment to issue with help of the Restv2 documentation.
But the request is error out with "Bad request" below is the request :
where as the file_filedata has the binarycontent value of the file
method:POST path:rest/api/2/issue/CECHP-5632/attachments
Content-Type:multipart/form-data
Accept:application/json
accept-encoding:gzip, deflate
Header Parameters:
X-Atlassian-Token:no-check
FormBody Parameters:
file_FileData:Cg0NCrQAAABNPCsaAQAAAP
filename:null
bytes:null
contentType:null
name:null
originalFilename:StormControlEnabled.pcapng
description:null
size:null
uri:null
url:null
empty:null
open:null