Dose anyone know in Developer community How to attach an attachment using the REST API not CURL method

Hi,

I am doing integration between Salesforce and JIRA. I am getting the Attachments data from the Salesforce ( file name, file type, content). I am not sure how to attach the attachment using the attachments data using REST API.

Thanks.