How to send a local file to Jira using API and form-data
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-01-20 12:43 PM
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.
------------------------------
Patryk
------------------------------
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-01-20 06:52 AM
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
------------------------------
------------------------------
Dhanekula Gowtham
Dot Net Developer
intain technologies pvt limited
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-01-20 09:28 AM
I tried to encoe it and pass it as body but did not work unfortunately
------------------------------
Patryk
------------------------------
------------------------------
Patryk
------------------------------
