cancel
Showing results for 
Search instead for 
Did you mean: 

How to send a local file to Jira using API and form-data

PatrykLiberski
Level 4

Hello everyone, 

I am trying to send a local file on my Jira profile. It's working with postman where I can specify everything including my file in Body as form-data.

How can I achieve the same result in BluePrism? Is it possible to specify this form-data somehow? Currently, I am only able to set my body content only as raw JSON. I will be glad for any tips and advice.

Best regards.

15866.jpg



------------------------------
Patryk
------------------------------
2 REPLIES 2

GowthamDhanekul
Level 3
You can send file in base64 format using form-data try to convert file to base64, key as file and value is base64 file value and make sure in which format does jira is recieving files base64 or bytes if bytes you can send by using blueprism data type binary.

------------------------------
Dhanekula Gowtham
Dot Net Developer
intain technologies pvt limited
------------------------------

I tried to encoe it and pass it as body but did not work unfortunately

------------------------------
Patryk
------------------------------