<?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: Use a curl via utility-http in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55829#M1200</link>
    <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/13981"&gt;@dbellazzi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;First, make sure you've downloaded the latest version of the &lt;STRONG&gt;Utility - HTTP&lt;/STRONG&gt; VBO from the DX. After that, you'll want to take a look at the &lt;EM&gt;&lt;STRONG&gt;HTTP Request Multipart&lt;/STRONG&gt;&lt;/EM&gt; action. Pay special attention to the input Collections &lt;STRONG&gt;FileMetadata&lt;/STRONG&gt; and &lt;STRONG&gt;FieldMetadata&lt;/STRONG&gt; as those are what you'll use to pass in the file(s) to the be uploaded as part of the POST request and any fields, or JSON content, that needs to be included at the beginning of the request body. The request will look something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7171.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7353i8260F4E1ECADCCC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="7171.png" alt="7171.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The File Metadata collection will look something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7172.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7348i550BBB97938BB4F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="7172.png" alt="7172.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;In this case it looks like you don't really have any field data, so the Field Metadata can be left blank I believe.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; The best way to troubleshoot this sort of thing is to run Fiddler and compare the actual on-wire cUrl request to that of Blue Prism. It helps you to see how things might be different between the two.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 07 Mar 2024 19:34:00 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2024-03-07T19:34:00Z</dc:date>
    <item>
      <title>Use a curl via utility-http</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55827#M1198</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I need to replicate this curl via utility-http:&lt;BR /&gt;curl -X POST --data-binary @c:/profili/User/Desktop/AAAA.eml \ -H "Authorization: Bearer TOKEN" \ -H "Content-Type: application/octet-stream; name=\"File Name.eml\"" \ -H "Content-Transfer-Encoding: base64" \ -H "Content-Disposition: attachment; filename=\"File Name.eml\"" \ "https://storage.googleapis.com /upload/storage/v1/b/BUCKET/o?uploadType=media&amp;amp;name=PATH%2FNAME.eml"&lt;/P&gt;
&lt;P&gt;Can you give me support?&lt;/P&gt;
&lt;P&gt;Thank you,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Daniel Bellazzi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Mar 2024 13:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55827#M1198</guid>
      <dc:creator>dbellazzi</dc:creator>
      <dc:date>2024-03-06T13:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Use a curl via utility-http</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55828#M1199</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Could you please help me on this topic?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Daniel Bellazzi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Mar 2024 16:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55828#M1199</guid>
      <dc:creator>dbellazzi</dc:creator>
      <dc:date>2024-03-07T16:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Use a curl via utility-http</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55829#M1200</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/13981"&gt;@dbellazzi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;First, make sure you've downloaded the latest version of the &lt;STRONG&gt;Utility - HTTP&lt;/STRONG&gt; VBO from the DX. After that, you'll want to take a look at the &lt;EM&gt;&lt;STRONG&gt;HTTP Request Multipart&lt;/STRONG&gt;&lt;/EM&gt; action. Pay special attention to the input Collections &lt;STRONG&gt;FileMetadata&lt;/STRONG&gt; and &lt;STRONG&gt;FieldMetadata&lt;/STRONG&gt; as those are what you'll use to pass in the file(s) to the be uploaded as part of the POST request and any fields, or JSON content, that needs to be included at the beginning of the request body. The request will look something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7171.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7353i8260F4E1ECADCCC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="7171.png" alt="7171.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The File Metadata collection will look something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7172.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7348i550BBB97938BB4F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="7172.png" alt="7172.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;In this case it looks like you don't really have any field data, so the Field Metadata can be left blank I believe.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; The best way to troubleshoot this sort of thing is to run Fiddler and compare the actual on-wire cUrl request to that of Blue Prism. It helps you to see how things might be different between the two.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Mar 2024 19:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55829#M1200</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2024-03-07T19:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Use a curl via utility-http</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55830#M1201</link>
      <description>&lt;P&gt;Hi Eric,&lt;/P&gt;
&lt;P&gt;Thanks a lot, by the way I followed what you suggested but I get this error "Remote server error: (407) Proxy authentication required.". I would like to specify that I can make the call via command prompt. I also noticed that the object specifies "Use Bearer Token is not configured to work using a Proxy." Can you give me support please?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Daniel Bellazzi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Mar 2024 15:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55830#M1201</guid>
      <dc:creator>dbellazzi</dc:creator>
      <dc:date>2024-03-08T15:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: Use a curl via utility-http</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55831#M1202</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/13981"&gt;@dbellazzi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Ok, there was no mention of the need for proxy settings in your example. My guess is curl is picking up the system settings for that. Unfortunately, the HTTP VBO does not, so you would have to set the &lt;STRONG&gt;Use Proxy&lt;/STRONG&gt; flag to True and then fill in the values for &lt;STRONG&gt;Proxy URL&lt;/STRONG&gt;, &lt;STRONG&gt;Proxy Username&lt;/STRONG&gt;, and &lt;STRONG&gt;Proxy Password&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;I'm not sure what you mean "&lt;EM&gt;object specifies 'Use Bearer Token is not configured to work using a Proxy.'&lt;/EM&gt;" There's nothing in that code, that I recall, that would stop the bearer token from being added to the &lt;STRONG&gt;Authorization&lt;/STRONG&gt; header even if proxy credentials are included. There is code that checks to ensure we only ever have, at most, 1 Authorization header though which is the HTTP standard.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Mar 2024 17:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55831#M1202</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2024-03-08T17:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Use a curl via utility-http</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55832#M1203</link>
      <description>&lt;P&gt;Thanks Eric.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For "&lt;/SPAN&gt;&lt;EM&gt;object specifies 'Use Bearer Token is not configured to work using a Proxy.'&lt;/EM&gt;&lt;SPAN&gt;" I mean this note in the object in the &amp;nbsp;HTTP Request Multipart page&lt;span class="lia-inline-image-display-wrapper" image-alt="7182.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7355iB13F7A8F7DF32BE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="7182.png" alt="7182.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Is it possible the use of the Bearer token and Proxy together so?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Moreover, could you please indicate where I can find the Proxy URL, Proxy Username, and&amp;nbsp;Proxy Password?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Daniel Bellazzi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Mar 2024 18:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55832#M1203</guid>
      <dc:creator>dbellazzi</dc:creator>
      <dc:date>2024-03-08T18:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: Use a curl via utility-http</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55833#M1204</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/13981"&gt;@dbellazzi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;As I mentioned previously, there's no code that I recall which would stop the use of bearer token and proxy settings together. Should be pretty easy for you to test it though, and see if you receive an error.&lt;/P&gt;
&lt;P&gt;The proxy properties are exposed as input on the action. If you don't see them, you have an old version of the VBO.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7191.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7372i344E6FD7FF6EA145/image-size/large?v=v2&amp;amp;px=999" role="button" title="7191.png" alt="7191.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Mar 2024 18:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55833#M1204</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2024-03-08T18:44:00Z</dc:date>
    </item>
    <item>
      <title>RE: Use a curl via utility-http</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55834#M1205</link>
      <description>&lt;P&gt;Hi Eric,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks, I see the input on the action but I can't get the values to use. How can I retrieve the information to enter? Is it my PC information or API information?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Also, I made the same request using the SoapUI tool with "Proxy Setting: None". However, if I enable the "Proxy Setting", the request does not work. I'm a little confused about why using another type of tool I can make the call without the Proxy, but I need it for Blue Prism. Do you have any thoughts on this difference?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Daniel Bellazzi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Mar 2024 16:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55834#M1205</guid>
      <dc:creator>dbellazzi</dc:creator>
      <dc:date>2024-03-14T16:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: Use a curl via utility-http</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55835#M1206</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/13981"&gt;@dbellazzi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I can't really diagnose your network. The best approach I can suggest is to use Fiddler, Wire Shark, or some other capture tool to catch the network traffic created by the successful requests you make from the command line or SoapUI and then capture the requests from Blue Prism and compare the two. That should help you identify what the exact differences are.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're not familiar with those tools, I would engage someone from your IT/network team to assist.&lt;/P&gt;
&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Mar 2024 20:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Use-a-curl-via-utility-http/m-p/55835#M1206</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2024-03-14T20:13:00Z</dc:date>
    </item>
  </channel>
</rss>

