<?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 How to Pass Binary data in HTTP Body in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71164#M23769</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have to make an API call which accepts the body in binary format only, so i have converted the file to binary data item using the Load Binary File action but in the HTTP action its accepting only text. Is there any other way to send the binary data in body using HTTP action except by creating a new web service in system tab?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The API is working fine If we pass the binary data from Postman.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17856.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18009iA1E55197D57AA3C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="17856.png" alt="17856.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17857.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18013i587F520E82F2C854/image-size/large?v=v2&amp;amp;px=999" role="button" title="17857.png" alt="17857.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Salman Shaik&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 01 Dec 2023 09:45:00 GMT</pubDate>
    <dc:creator>salman_shaik</dc:creator>
    <dc:date>2023-12-01T09:45:00Z</dc:date>
    <item>
      <title>How to Pass Binary data in HTTP Body</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71164#M23769</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have to make an API call which accepts the body in binary format only, so i have converted the file to binary data item using the Load Binary File action but in the HTTP action its accepting only text. Is there any other way to send the binary data in body using HTTP action except by creating a new web service in system tab?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The API is working fine If we pass the binary data from Postman.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17856.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18009iA1E55197D57AA3C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="17856.png" alt="17856.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17857.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18013i587F520E82F2C854/image-size/large?v=v2&amp;amp;px=999" role="button" title="17857.png" alt="17857.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Salman Shaik&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Dec 2023 09:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71164#M23769</guid>
      <dc:creator>salman_shaik</dc:creator>
      <dc:date>2023-12-01T09:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to Pass Binary data in HTTP Body</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71165#M23770</link>
      <description>&lt;P&gt;Hello Salman,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;If your data is in binary format, you need to convert it to BASE64 before sending it to an API&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/viewthread?MessageKey=6276a0fc-04c9-4bcf-9c77-c23c6af4771d&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01&amp;amp;tab=digestviewer" target="test_blank"&gt;https://community.blueprism.com/communities/community-home/digestviewer/viewthread?MessageKey=6276a0fc-04c9-4bcf-9c77-c23c6af4771d&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01&amp;amp;tab=digestviewer&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/viewthread?MessageKey=73942100-2b83-4685-bb56-9433633cc1f2&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01" target="test_blank"&gt;https://community.blueprism.com/communities/community-home/digestviewer/viewthread?MessageKey=73942100-2b83-4685-bb56-9433633cc1f2&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Leonardo Soares&lt;BR /&gt;RPA Developer Tech Leader&lt;BR /&gt;Bridge Consulting&lt;BR /&gt;América/Brazil&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Dec 2023 22:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71165#M23770</guid>
      <dc:creator>LeonardoSQueiroz</dc:creator>
      <dc:date>2023-12-02T22:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to Pass Binary data in HTTP Body</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71166#M23771</link>
      <description>&lt;P&gt;HI Salman Shaik,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;You can use Utility - file manipulation VBO to convert the binary to base 64&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Below is the latest VBO in the DX.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/9648/solution/utility---file-manipulation" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/9648/solution/utility---file-manipulation&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;-----------------------&lt;BR /&gt;If I answered your query. Please  mark it as the "Best Answer"&lt;BR /&gt;&lt;BR /&gt;Harish Mogulluri&lt;BR /&gt;Lead developer&lt;BR /&gt;America/New_York TX&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Dec 2023 04:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71166#M23771</guid>
      <dc:creator>harish.mogulluri</dc:creator>
      <dc:date>2023-12-03T04:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to Pass Binary data in HTTP Body</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71167#M23772</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;FYI&lt;/P&gt;
&lt;P&gt;Previously I tried all these workarounds the API is expecting only binary data. I have converted the binary to base64 but API is throwing error.&lt;/P&gt;
&lt;P&gt;so I am checking is there a way to pass the binary data through HTTP action.&lt;/P&gt;
&lt;P&gt;Technically binary and base64 are different? because API is not accepting base64 but if we pass binary data it's working fine.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Salman Shaik&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Dec 2023 05:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71167#M23772</guid>
      <dc:creator>salman_shaik</dc:creator>
      <dc:date>2023-12-03T05:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to Pass Binary data in HTTP Body</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71168#M23773</link>
      <description>&lt;P&gt;@Salman&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Utility HTTP supports sending binary data in Body. Set parameters as below-&lt;/P&gt;
&lt;P&gt;Body : &amp;nbsp;File Path with extension Eg. C:\Downloads\MyFile.xlsx&lt;BR /&gt;Content Type: application/octet-stream or set as required by the API&lt;BR /&gt;Method : POST&lt;BR /&gt;File URL : True&lt;/P&gt;&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, 04 Dec 2023 04:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71168#M23773</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2023-12-04T04:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to Pass Binary data in HTTP Body</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71169#M23774</link>
      <description>&lt;P&gt;Hi Shashank,&lt;BR /&gt;It worked for me, when we mention the content type as &lt;SPAN&gt;application/octet-stream it internally converts the input file of any &lt;SPAN style="font-size: 14.6667px;"&gt;format into binary and sends it as binary body? Then we no need to explicitly convert any file to binary using load binary action.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;&lt;BR /&gt;Do we have any documentation stating which application type should be used for which type of file/what parameters needs to be changed in HTTP request action? It would be more helpful if i have to send data in any other formats in future.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;Please share if available.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Salman Shaik&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Dec 2023 13:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71169#M23774</guid>
      <dc:creator>salman_shaik</dc:creator>
      <dc:date>2023-12-04T13:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to Pass Binary data in HTTP Body</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71170#M23775</link>
      <description>&lt;P&gt;@Salman,&lt;/P&gt;
&lt;P&gt;Setting content-type to &lt;SPAN&gt;application/octet-stream doesn't convert file to binary. Setting the File URL parameter to True is required to deal with binary files. Description for each parameter is included in user guide.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The content-type value can be looked up from POSTMAN when you are testing the API or the third party API documentation that you are integrating with. You can learn more about mime types here &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types&amp;nbsp;&amp;nbsp;" target="test_blank"&gt;https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types&amp;nbsp;&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&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>Tue, 05 Dec 2023 03:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-Pass-Binary-data-in-HTTP-Body/m-p/71170#M23775</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2023-12-05T03:56:00Z</dc:date>
    </item>
  </channel>
</rss>

