<?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: How to download a file using web api. in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52375#M7252</link>
    <description>Unfortunately, binary streams are not supported as a return type of a Web API service. They only return string data. This has been raised with product as a limitation of the feature and should be addressed in a future release.&lt;BR /&gt;&lt;BR /&gt;In the meantime, I would suggest using a code stage and something like the .NET HttpClient class to retrieve your file.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Sun, 26 Apr 2020 04:41:00 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2020-04-26T04:41:00Z</dc:date>
    <item>
      <title>How to download a file using web api.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52374#M7251</link>
      <description>I want to download a file using Web API. After making request we are getting File data as text in the response content data item.&lt;BR /&gt;&lt;BR /&gt;For your reference I am getting the response as below as text type.&lt;BR /&gt;&lt;BR /&gt;%PDF-1.4 %����&lt;BR /&gt;68 0 obj &amp;lt;&amp;lt;/Linearized 1/L 1850803/O 70/E 262535/N 13/T 1849323/H [ 916 320]&amp;gt;&amp;gt; endobj&lt;BR /&gt;xref&lt;BR /&gt;68 31&lt;BR /&gt;0000000016 00000 n&lt;BR /&gt;0000001236 00000 n&lt;BR /&gt;0000001456 00000 n&lt;BR /&gt;0000001821 00000 n&lt;BR /&gt;0000001957 00000 n&lt;BR /&gt;0000002087 00000 n&lt;BR /&gt;0000002229 00000 n&lt;BR /&gt;0000002972 00000 n&lt;BR /&gt;0000003602 00000 n&lt;BR /&gt;0000004428 00000 n&lt;BR /&gt;0000005000 00000 n&lt;BR /&gt;0000005715 00000 n&lt;BR /&gt;&lt;BR /&gt;I am not adding all the content here.&lt;BR /&gt;&lt;BR /&gt;How can we save this content as a original file.&lt;BR /&gt;&lt;BR /&gt;Please help, its an urgent.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;K&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;A Z&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 25 Apr 2020 17:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52374#M7251</guid>
      <dc:creator>AZ</dc:creator>
      <dc:date>2020-04-25T17:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to download a file using web api.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52375#M7252</link>
      <description>Unfortunately, binary streams are not supported as a return type of a Web API service. They only return string data. This has been raised with product as a limitation of the feature and should be addressed in a future release.&lt;BR /&gt;&lt;BR /&gt;In the meantime, I would suggest using a code stage and something like the .NET HttpClient class to retrieve your file.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 26 Apr 2020 04:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52375#M7252</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-04-26T04:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to download a file using web api.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52376#M7253</link>
      <description>Hi Eric and Blue Prism support team,&lt;BR /&gt;&lt;BR /&gt;I am trying to download PDF file in Box using BP Web API.&lt;BR /&gt;&lt;BR /&gt;Does the Web API limitation still persists in BP 6.4? or it has been fixed already.&lt;BR /&gt;Please, can you provide instruction on where to add the .Net Code in Web API and how to handle the Response.&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; client = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; RestClient(&lt;/SPAN&gt;&lt;SPAN&gt;"https://api.box.com/2.0/files/71*****************/content"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;client.Timeout = -&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; request = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; RestRequest(Method.GET);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;request.AddHeader(&lt;/SPAN&gt;&lt;SPAN&gt;"Authorization"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Bearer *********************"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;request.AddHeader(&lt;/SPAN&gt;&lt;SPAN&gt;"Cookie"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"box_visitor_id=*******************"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;IRestResponse response = client.Execute(request);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Console.WriteLine(response.Content);&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Michael&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael Ng&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Sep 2020 16:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52376#M7253</guid>
      <dc:creator>MichaelNg</dc:creator>
      <dc:date>2020-09-18T16:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to download a file using web api.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52377#M7254</link>
      <description>Hi ​Michael,&lt;BR /&gt;&lt;BR /&gt;Box supports several different integration options. The two that probably make the most sense for Blue Prism are their REST interface and their .NET SDK. Since you're wanting to download binary content from Box, a PDF in this example, you won't be able to use the Web API feature of Blue Prism. However, you can still integrate with Box's REST API using a new version of the HttpClient VBO, or you can use Code stages if you want to work through their .NET SDK.&lt;BR /&gt;&lt;BR /&gt;Give me a few minutes and I will post the updated HttpClient VBO which now includes a method called "Http Request File". With this you'll be able to download a PDF and write it to disk.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Sep 2020 18:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52377#M7254</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-09-18T18:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to download a file using web api.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52378#M7255</link>
      <description>Michael,&lt;BR /&gt;&lt;BR /&gt;See the attached VBO. There is a new method called 'HTTP Request File'. You can use that to download your PDF from Box. This is also being added to the DX.&lt;BR /&gt;&lt;BR /&gt;Here's what I believe the set up for the 'HTTP Request File' call would look like in your scenario:&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="16618.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/16777i97E92329F6AD4D00/image-size/large?v=v2&amp;amp;px=999" role="button" title="16618.png" alt="16618.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;The Collection called 'CustomHeaders' holds the definition of the Cookie header in your example:&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="16619.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/16773i19E52395F11B34E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="16619.png" alt="16619.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Sep 2020 18:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52378#M7255</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-09-18T18:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to download a file using web api.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52379#M7256</link>
      <description>Thank you Eric for the HTTP Request File Object.&lt;BR /&gt;I was able to download file using your object on REST API with Basic Authentication.&lt;BR /&gt;However, I had to make a small code change in your code to connect to&amp;nbsp;Box Integration (Oauth 2.0).&lt;BR /&gt;Bearer token is only good for one hour.&amp;nbsp;Need to figure it a way to generate new Bearer token using client_id and client_secrete every request.&lt;BR /&gt;Box provided javascript code to generate new token (Find attached) Now, I need to convert it from javascript to VB and incorporate it to Request File Object. &amp;nbsp;&amp;nbsp;https://developer.box.com/guides/tooling/postman/quick-start/. &lt;BR /&gt;&lt;BR /&gt;Try&lt;BR /&gt;Dim request As WebRequest = WebRequest.Create(addressURL)&lt;BR /&gt;If forcePreAuth Then&lt;BR /&gt;'Sometimes a web server will require the authorisation header in the initial request&lt;BR /&gt;'In which case we have to add the basic authorization header manually.&lt;BR /&gt;Dim bytes() As Byte = System.Text.Encoding.UTF8.GetBytes(String.Format("{0}:{1}",username,password))&lt;BR /&gt;Dim base64 As String = Convert.ToBase64String(bytes)&lt;BR /&gt;&lt;BR /&gt;'For Basic Authorization&lt;BR /&gt;'request.Headers.Add("Authorization", "Basic " &amp;amp; base64)&lt;BR /&gt;&lt;BR /&gt;' Box doesn't support Basic&amp;nbsp;Authentication.&amp;nbsp;&lt;BR /&gt;'Have to use Oauth2, Bearer token is only good for one hour.&amp;nbsp;Need to figure it a way to generate new Bearer token using client_id and client_secrete every request&lt;BR /&gt;request.Headers.Add("Authorization", ": Bearer *token************************************")&lt;BR /&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael Ng&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Sep 2020 02:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52379#M7256</guid>
      <dc:creator>MichaelNg</dc:creator>
      <dc:date>2020-09-21T02:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to download a file using web api.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52380#M7257</link>
      <description>Ah, that example is from a Postman collection for Box, so it might be a little difficult to translate to VB because of some of the Postman-specific objects. If you have trouble with it, let me know and I'll spend some time looking it over.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Sep 2020 11:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52380#M7257</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-09-21T11:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to download a file using web api.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52381#M7258</link>
      <description>&lt;SPAN class="VIiyi" jsaction="mouseup:BR6jm" jsname="jqKxS" lang="en"&gt;&lt;SPAN jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb" jscontroller="Zl5N8" jsmodel="SsMkhd" jsname="txFAF" class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" jsdata="uqLsIf;_;$279"&gt;&lt;SPAN jsaction="click:qtZ4nf,GFf3ac,tMZCfe; mousedown:evWYGf,niacOc; mouseout:Nqw7Te; mouseover:qtZ4nf,c2aHje" jsname="W297wb"&gt;Hi, &lt;BR /&gt;&lt;SPAN jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb" jscontroller="Zl5N8" jsmodel="SsMkhd" jsname="txFAF" class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" jsdata="uqLsIf;_;$369"&gt;I have a similar case.&lt;/SPAN&gt; &lt;SPAN jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb" jscontroller="Zl5N8" jsmodel="SsMkhd" jsname="txFAF" class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="1" jsdata="uqLsIf;_;$370"&gt;I am trying to download a (pdf) file using this object, but authorization is via baerar token&lt;/SPAN&gt;.&lt;BR /&gt;&lt;SPAN jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb" jscontroller="Zl5N8" jsmodel="SsMkhd" jsname="txFAF" class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" jsdata="uqLsIf;_;$399"&gt;how can i use this object?&lt;/SPAN&gt; &lt;SPAN jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb" jscontroller="Zl5N8" jsmodel="SsMkhd" jsname="txFAF" class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="1" jsdata="uqLsIf;_;$400"&gt;possibly is there any ready-made solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marcin Grzelak&lt;BR /&gt;RPA Developer&lt;BR /&gt;Open Life TU Życie S.A.&lt;BR /&gt;Europe/Warsaw&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Nov 2020 15:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52381#M7258</guid>
      <dc:creator>Ernest1</dc:creator>
      <dc:date>2020-11-20T15:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to download a file using web api.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52382#M7259</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="a498972a-97ae-4c89-8ea1-d5ae4d8f3e2c" data-tag-text="@Marcin Grzelak" href="https://community.blueprism.com/network/profile?UserKey=a498972a-97ae-4c89-8ea1-d5ae4d8f3e2c" data-itemmentionkey="64f0751a-5ffc-412e-be05-db8d17e82786"&gt;@Marcin Grzelak&lt;/A&gt; are you talking about plain bearer token where you already have the token (aka API key) and it just needs to be added to an authentication header? Or are you referring to something like OAuth2 JWT?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Nov 2020 15:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52382#M7259</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-11-20T15:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to download a file using web api.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52383#M7260</link>
      <description>yes, I mean about plain bearer token. I already have the token.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marcin Grzelak&lt;BR /&gt;RPA Developer&lt;BR /&gt;Open Life TU Życie S.A.&lt;BR /&gt;Europe/Warsaw&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Nov 2020 15:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52383#M7260</guid>
      <dc:creator>Ernest1</dc:creator>
      <dc:date>2020-11-20T15:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to download a file using web api.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52384#M7261</link>
      <description>If you open the VBO and go to the&amp;nbsp;&lt;STRONG&gt;HTTP Request File&lt;/STRONG&gt; action, you should be able to add the following code to include a bearer token header in your request instead of HTTP Basic Auth. Please note, &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;THIS IS A TOTAL HACK&lt;/EM&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;. This is a quick fix to address your question. You would need to either define a new input parameter called "token" and pass in your token value or you could just hardcode it in the VB. Ultimately, if you want something maintainable and flexible you'd adjust this code to possibly include a flag to discern between using HTTP Basic or Bearer auth. &lt;BR /&gt;&lt;BR /&gt;Hopefully that makes sense? I'll add an item to our backlog to update the published VBO to include this capability.&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="16633.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/16791i330D2A47F8F194B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="16633.png" alt="16633.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Nov 2020 15:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/52384#M7261</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-11-20T15:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to download a file using web api.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/124361#M54312</link>
      <description>&lt;P&gt;Allow me to revive this old topic as I am currently running into the same issue. Blue Prism, as of version 7.4.1, still does not support any option to return Response Content as a binary output type.&lt;/P&gt;&lt;P&gt;How are we, in 2026 and over 5 years after this question was asked, still bound to these limited options? Oauth2.0 endpoints are everywhere, and having to use custom code/logic to (re)fetch access/refresh tokens is time consuming and goes against any decent principle of not repeating logic.&lt;/P&gt;&lt;P&gt;Is this feature actually on a backlog somewhere? And will it ever be added?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2026 14:22:42 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-download-a-file-using-web-api/m-p/124361#M54312</guid>
      <dc:creator>jordy.vanderlinden</dc:creator>
      <dc:date>2026-01-13T14:22:42Z</dc:date>
    </item>
  </channel>
</rss>

