<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Send Document using Multi Part Form Data in Web API in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58032#M11941</link>
    <description>&lt;DIV class="uconBody"&gt;&lt;DIV style="page: WordSection1"&gt; &lt;P style="margin: 0in;margin-bottom: .0001pt;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif"&gt;Sheela,&lt;/P&gt; &lt;P style="margin: 0in;margin-bottom: .0001pt;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif"&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="margin: 0in;margin-bottom: .0001pt;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif"&gt;Is it a form you are trying to upload? Also to truly help I'd have to know how this API works, without that information I'm a little limited in how I can assist. The code I posted was for the API I used but it should function similarly  to the one you're using.&lt;/P&gt; &lt;P style="margin: 0in;margin-bottom: .0001pt;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif"&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="margin: 0in;margin-bottom: .0001pt;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif"&gt;If you can provide more information on the API I will be able to assist you further.&lt;/P&gt; &lt;P style="margin: 0in;margin-bottom: .0001pt;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif"&gt;&amp;nbsp;&lt;/P&gt; &lt;TABLE border="0" cellspacing="0" cellpadding="0" width="0" style="width:302.0pt"&gt; &lt;TBODY&gt; &lt;TR&gt; &lt;TD width="403" style="width:1.25in;padding:0in 0in 0in 0in"&gt; &lt;P style="margin: 0in;margin-bottom: .0001pt;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif"&gt;&lt;B&gt;&lt;SPAN style="font-size:10.0pt;font-family:&amp;quot;Arial&amp;quot;,sans-serif;color:#6FBE65"&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://www.linkedin.com/in/thedeserttech/"&gt;&lt;SPAN style="color:#6FBE65;text-decoration:none"&gt;Tracy Schultz&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,serif"&gt; &lt;/SPAN&gt;&lt;/P&gt; &lt;/TD&gt; &lt;/TR&gt; &lt;/TBODY&gt; &lt;/TABLE&gt; &lt;P style="margin: 0in;margin-bottom: .0001pt;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif"&gt;&amp;nbsp;&lt;/P&gt; &lt;/DIV&gt; &lt;HR /&gt; DISCLAIMER: This message is confidential and may be privileged. If you are not an intended recipient, please notify the sender immediately by email or phone and permanently delete the message from your system before reviewing, copying, or distributing. You  may call us at (800) 332-7952.&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 20 Apr 2021 13:27:00 GMT</pubDate>
    <dc:creator>TracySchultz</dc:creator>
    <dc:date>2021-04-20T13:27:00Z</dc:date>
    <item>
      <title>Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58009#M11918</link>
      <description>We are trying to consume a webservice which take a document and other metadata using multi part form data Content Type.&lt;BR /&gt;We are able to call the service successfully using Postman, but when using Web API feature of Blue Prism latest version 6.5 we are having following observations.&lt;BR /&gt;1. When using Template dropdown option in the Request, it is sending the whole data in json format instead of multi-part form data as expected by the service.&lt;BR /&gt;2. When using Single or Multi File option, we do not see a way to send additional attributes in the body as expected by service&lt;BR /&gt;3. We also wrote a custom code to send the information using multi-form, but even that ended up sending information in raw format.&lt;BR /&gt;&lt;BR /&gt;Any experience on above requirement?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ambrish Srivastava&lt;BR /&gt;Architect&lt;BR /&gt;Persistetnt Systems Inc&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jul 2019 21:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58009#M11918</guid>
      <dc:creator>AmbrishSrivasta</dc:creator>
      <dc:date>2019-07-24T21:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58010#M11919</link>
      <description>I have successfully used the Web API to invoke this Microsoft Form Recognizer service that required multi-part form data as a payload.&lt;BR /&gt;&lt;A href="https://westus2.dev.cognitive.microsoft.com/docs/services/form-recognizer-api/operations/AnalyzeWithCustomModel" target="_blank" rel="noopener"&gt;https://westus2.dev.cognitive.microsoft.com/docs/services/form-recognizer-api/operations/AnalyzeWithCustomModel&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The Body Content of the Request was "Multiple Files" and the Collection Parameter Name was "Files"&lt;BR /&gt;&lt;BR /&gt;The Request Header contained "Content-Type" and a value of "application/pdf"&lt;BR /&gt;&lt;BR /&gt;The Web API action was passed a collection called "Documents"&amp;nbsp; that had the following structure:&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26425.jpg"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26557i5C659D926A75997B/image-size/large?v=v2&amp;amp;px=999" role="button" title="26425.jpg" alt="26425.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;I have not tried a scenario where any additional information was needed in the Request Body.&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chris Hogan&lt;BR /&gt;Senior Ecosystem Architect&lt;BR /&gt;Blue Prism&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Jul 2019 22:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58010#M11919</guid>
      <dc:creator>ChrisHogan</dc:creator>
      <dc:date>2019-07-28T22:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58011#M11920</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If this issue is still open, i have got Multi Part form data working using templates. refer the attached image.,&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26426.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26556iB0DA097BB59AEF2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="26426.png" alt="26426.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bimal Sebastian&lt;BR /&gt;Consultant&lt;BR /&gt;Blueprism&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Aug 2019 06:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58011#M11920</guid>
      <dc:creator>BimalSebastian</dc:creator>
      <dc:date>2019-08-08T06:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58012#M11921</link>
      <description>Thanks Bimal, I was able to consume services as suggested by you.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ambrish Srivastava&lt;BR /&gt;Architect&lt;BR /&gt;Persistetnt Systems Inc&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Aug 2019 11:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58012#M11921</guid>
      <dc:creator>AmbrishSrivasta</dc:creator>
      <dc:date>2019-08-09T11:44:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58013#M11922</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Do we have to split the input file into multiple parts?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Sep 2019 07:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58013#M11922</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2019-09-30T07:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58014#M11923</link>
      <description>Hi Shashank,&lt;BR /&gt;&lt;BR /&gt;You dont need to split the file into multiple parts. Multi Part form data is one way to send information using http. In this mode you can send a file and additional information along with the files binary data, hence the term Multi Part.&lt;BR /&gt;If you only have a file to send and no additional meta data, then you can chose existing file or multiple file api type in blue prism, provided the api you are consuming supports it.&lt;BR /&gt;If the API you consume requires multi-part form data, then you will need to try the above method.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bimal Sebastian&lt;BR /&gt;Consultant&lt;BR /&gt;Blueprism&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Oct 2019 06:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58014#M11923</guid>
      <dc:creator>BimalSebastian</dc:creator>
      <dc:date>2019-10-01T06:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58015#M11924</link>
      <description>Hi Bimal,&lt;BR /&gt;&lt;BR /&gt;What does the [boundary] stand for?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bryan Jay&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Apr 2020 19:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58015#M11924</guid>
      <dc:creator>BryanJay</dc:creator>
      <dc:date>2020-04-13T19:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58016#M11925</link>
      <description>Hi Bryan&lt;BR /&gt;&lt;BR /&gt;In http, a multi part form data is characterized by using a boundary value to separate each form set.&lt;BR /&gt;Here [boundary] is a parameter that can be customized and added to the body.&lt;BR /&gt;&lt;BR /&gt;There is no harm, if you chose to not customize it. You can tweak the template and hard code any text value in place of boundary.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Bimal&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bimal Sebastian&lt;BR /&gt;Consultant&lt;BR /&gt;Blueprism&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Apr 2020 06:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58016#M11925</guid>
      <dc:creator>BimalSebastian</dc:creator>
      <dc:date>2020-04-14T06:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58017#M11926</link>
      <description>Hi there Chris, &lt;BR /&gt;&lt;BR /&gt;I know this thread is a little old now but I have come across this and wonder if you could help. &lt;BR /&gt;&lt;BR /&gt;I'm trying to get data into the "Documents" collection, but seem unable to. I have my 2 files which I need to send via API in a collection. &lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26432.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26558iBBAB749D696AE767/image-size/large?v=v2&amp;amp;px=999" role="button" title="26432.png" alt="26432.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;But seem unable to get them from that to a collection with a binary value. &lt;BR /&gt;&lt;BR /&gt;How did you get the documents into a collection with a binary value? &lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;Thanks&lt;BR /&gt;Matthew&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Matthew Ross&lt;BR /&gt;Principal Innovation Developer &amp;amp; Analyst&lt;BR /&gt;NHBC&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 01 May 2020 08:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58017#M11926</guid>
      <dc:creator>MoDCore</dc:creator>
      <dc:date>2020-05-01T08:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58018#M11927</link>
      <description>Any help with my query would be great if anyone knows &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Matthew Ross&lt;BR /&gt;Principal Innovation Developer &amp;amp; Analyst&lt;BR /&gt;NHBC&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 14 May 2020 08:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58018#M11927</guid>
      <dc:creator>MoDCore</dc:creator>
      <dc:date>2020-05-14T08:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58019#M11928</link>
      <description>Hi Bimal,&lt;BR /&gt;&lt;BR /&gt;Many thanks for sharing this.&lt;BR /&gt;&lt;BR /&gt;I am still having a few issues trying to send a multipart/form-data POST request.&lt;BR /&gt;&lt;BR /&gt;What variable type is your [fileValue] parameter?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Harrison&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Harrison Jardine&lt;BR /&gt;Consultant&lt;BR /&gt;Protiviti&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 22 May 2020 15:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58019#M11928</guid>
      <dc:creator>HarrisonJardine</dc:creator>
      <dc:date>2020-05-22T15:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58020#M11929</link>
      <description>Hi Harrison,&lt;BR /&gt;&lt;BR /&gt;File value is the actual Binary data for the file. The blue prism process that call the multipart/form-data api will extract the file in a binary format using file system vbo and pass it on here&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bimal Sebastian&lt;BR /&gt;Consultant&lt;BR /&gt;Blueprism&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 22 May 2020 17:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58020#M11929</guid>
      <dc:creator>BimalSebastian</dc:creator>
      <dc:date>2020-05-22T17:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58021#M11930</link>
      <description>Hi Bimal,&lt;BR /&gt;&lt;BR /&gt;When sending the file using Binary I am unable to open it on the target system as I think it is getting corrupted in some way. They have asked if I can send the file using a Byte Array.&lt;BR /&gt;&lt;BR /&gt;Is this possible using the approach above?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Harrison&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Harrison Jardine&lt;BR /&gt;Consultant&lt;BR /&gt;Protiviti&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jun 2020 15:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58021#M11930</guid>
      <dc:creator>HarrisonJardine</dc:creator>
      <dc:date>2020-06-11T15:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58022#M11931</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="fcaee490-cfd9-4709-b473-81bcdb45750d" data-tag-text="@Bimal Sebastian" href="https://community.blueprism.com/people/bimal-sebastian1" data-itemmentionkey="708ac623-87ba-4c07-a80b-118ee8b7a313"&gt;@Bimal Sebastian&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;I'm attempting to setup the API endpoint to upload a file, it works in Postman, but when I am trying to set it up in Blue Prism I'm having some issues, I've attempted to recreate what you have in the image but what should the boundary be? Filename should of course be the file's name, and filevalue should be the binary data I'm assuming.&lt;BR /&gt;&lt;BR /&gt;Thank you for your help,&lt;BR /&gt;&lt;BR /&gt;Tracy&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tracy Schultz&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Jul 2020 00:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58022#M11931</guid>
      <dc:creator>TracySchultz</dc:creator>
      <dc:date>2020-07-30T00:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58023#M11932</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="b7a2be6d-c554-42d3-b938-f472b1b3cfc2" data-tag-text="@Tracy Schultz" href="https://community.blueprism.com/network/profile?UserKey=b7a2be6d-c554-42d3-b938-f472b1b3cfc2" data-itemmentionkey="0db3ff5b-7e61-4863-9305-eb26d702d2fa"&gt;@Tracy Schultz&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;The boundary is any arbitrary character. As a matter of fact it can be hardcoded as well if you chose to. Most api end points dont care what the boundary is, as long as there is a boundary.&lt;BR /&gt;To be more elaborate, Boundary is a http protocol requirement. This essentially is a way to tell where a particular "part" in a "multi-part" form begins and end.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bimal Sebastian&lt;BR /&gt;Consultant&lt;BR /&gt;Blueprism&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Jul 2020 05:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58023#M11932</guid>
      <dc:creator>BimalSebastian</dc:creator>
      <dc:date>2020-07-31T05:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58024#M11933</link>
      <description>&lt;P&gt;&lt;A class="user-content-mention" data-sign="@" data-contactkey="fcaee490-cfd9-4709-b473-81bcdb45750d" data-tag-text="@Bimal Sebastian" href="https://community.blueprism.com/people/bimal-sebastian1" data-itemmentionkey="2ba53d22-76dc-4653-a8fb-52ba2743b522"&gt;@Bimal Sebastian&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Looking in Postman at the headers needed for the API it has ​the following needed headers. Can you shed light on what headers are included as part of the API integration for sending files or file for the body of a POST?&lt;BR /&gt;&lt;BR /&gt;We can easily get the number of bites using a calculation and we can set the Content-Type header easily, however is Content-Length sent automatically or can we set it? Knowing what headers are sent or possible to send would be helpful. If needed I can include the Request Headers and Request Body from postman where it worked minus authentication items.&lt;/P&gt;
Content-Type:&amp;nbsp;multipart/form-data; boundary=--------------------------757794703188956163047914&lt;BR /&gt;Content-Length:&amp;nbsp;1179190&lt;BR /&gt;&lt;BR /&gt;Any and all help is much appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Tracy&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tracy Schultz&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Jul 2020 16:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58024#M11933</guid>
      <dc:creator>TracySchultz</dc:creator>
      <dc:date>2020-07-31T16:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58025#M11934</link>
      <description>&lt;P&gt;Think I'm starting to understand. Looking at the raw log from Postman I'm seeing the following.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Content-Type: multipart/form-data; boundary=--------------------------035755082283824938336703&lt;BR /&gt;Content-Length: 1179190&lt;BR /&gt;----------------------------035755082283824938336703&lt;BR /&gt;Content-Disposition: form-data; name="file"; filename="1718367-2019-1231-MID; 1040.pdf"&lt;BR /&gt;&lt;BR /&gt;&amp;lt;1718367-2019-1231-MID; 1040.pdf&amp;gt;&lt;BR /&gt;----------------------------035755082283824938336703--&lt;BR /&gt;&lt;BR /&gt;So would I want this as the body template?&lt;/P&gt;
&lt;P&gt;[boundary]&lt;BR /&gt;Content-Disposition: form-data; name="file"; filename="[filename]"&lt;BR /&gt;&lt;BR /&gt;[filedata as binary]&lt;BR /&gt;[boundary]--&lt;BR /&gt;&lt;BR /&gt;And if so then add these headers to the action?&lt;/P&gt;
&lt;P&gt;Content-Type: multipart/form-data; boundary=[boundary]&lt;BR /&gt;Content-Length: [length of file binary]&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Apologize for all the questions but I feel like I'm on the edge of understanding.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tracy Schultz&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Jul 2020 16:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58025#M11934</guid>
      <dc:creator>TracySchultz</dc:creator>
      <dc:date>2020-07-31T16:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58026#M11935</link>
      <description>&lt;P&gt;Ok I've set this up as my template.&lt;/P&gt;
&lt;P&gt;Content-Length: [Content Length]&lt;BR /&gt;[Boundary]&lt;BR /&gt;Content-Disposition: form-data; name="file"; filename="[File Name]"&lt;BR /&gt;&lt;BR /&gt;[File Data]&lt;BR /&gt;[Boundary]--&lt;BR /&gt;&lt;BR /&gt;I've also added these headers&lt;/P&gt;
&lt;P&gt;Content-Type multipart/form-data; boundary=[Boundary]&lt;BR /&gt;Cache-Control no-cache&lt;BR /&gt;&lt;BR /&gt;When I run it I'm getting this error.&lt;/P&gt;
&lt;P&gt;Unexpected error Error during Web API HTTP Request&lt;BR /&gt;HTTP Status Code: 400&lt;BR /&gt;HTTP Response Content: {"key":"ERROR_HAS_OCCURRED","value":"Unexpected end of MIME multipart stream. MIME multipart message is not complete."}&lt;BR /&gt;&lt;BR /&gt;Here's what I have from Postman.&lt;BR /&gt;&lt;BR /&gt;Cache-Control: no-cache&lt;BR /&gt;Host: api.thomsonreuters.com&lt;BR /&gt;Content-Type: multipart/form-data; boundary=--------------------------035755082283824938336703&lt;BR /&gt;Content-Length: 1179190&lt;BR /&gt;----------------------------035755082283824938336703&lt;BR /&gt;Content-Disposition: form-data; name="file"; filename="1718367-2019-1231-MID; 1040.pdf"&lt;BR /&gt;&lt;BR /&gt;&amp;lt;1718367-2019-1231-MID; 1040.pdf&amp;gt;&lt;BR /&gt;----------------------------035755082283824938336703--&lt;BR /&gt;&lt;BR /&gt;Not seeing what I'm getting wrong on this.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tracy Schultz&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Jul 2020 19:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58026#M11935</guid>
      <dc:creator>TracySchultz</dc:creator>
      <dc:date>2020-07-31T19:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58027#M11936</link>
      <description>Ok looking into it when I try to send the data as binary is when I get a 415 error. Is there a way to send a file in BP that doesn't require me to convert the file to binary first?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tracy Schultz&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Jul 2020 22:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58027#M11936</guid>
      <dc:creator>TracySchultz</dc:creator>
      <dc:date>2020-07-31T22:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Send Document using Multi Part Form Data in Web API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58028#M11937</link>
      <description>This is the structure of my collection:&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26445.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26577i7511E49C839E042E/image-size/large?v=v2&amp;amp;px=999" role="button" title="26445.png" alt="26445.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;I use a calculation stage to read the file to binary, and store in the collection "File" field:&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26446.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26578i1521DA6F0E5FBCA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="26446.png" alt="26446.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chris Hogan&lt;BR /&gt;Senior Ecosystem Architect&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Aug 2020 13:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-Document-using-Multi-Part-Form-Data-in-Web-API/m-p/58028#M11937</guid>
      <dc:creator>ChrisHogan</dc:creator>
      <dc:date>2020-08-04T13:20:00Z</dc:date>
    </item>
  </channel>
</rss>

