<?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 &amp;gt; There is an input of the… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Send-file-throu-HTTP-Post-request/m-p/56696#M10833</link>
    <description>&amp;gt;&amp;nbsp;There is an input of the action called 'Post Data' but it is a collection and I do not know how to structure it.
In general, open HTTP VBO and see how it works. (Or you can always create your own VBO)
Basically ""Post Data""&amp;nbsp;should contain one row, rest is ignored. Get Body stage builds a&amp;nbsp;string from it, for each column in that row in it adds urlencoded ""ColumnName=Value"" pairs separated by &amp;amp;
Binary files are normally sent by browser as&amp;nbsp;multipart/form-data instead of&amp;nbsp;application/x-www-form-urlencoded, because latter adds significant overhead for big binary files - it looks like you'd have to create your own action for multipart/form-data, if you need it.
Nevertheless, server should be able to accept&amp;nbsp;application/x-www-form-urlencoded file too, which can be sent with HTTP VBO... just be prepared that your request might end up like 2-3 times&amp;nbsp;the size of the actual file.</description>
    <pubDate>Fri, 26 Oct 2018 19:12:00 GMT</pubDate>
    <dc:creator>AndreyKudinov</dc:creator>
    <dc:date>2018-10-26T19:12:00Z</dc:date>
    <item>
      <title>Send file throu HTTP Post request</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-file-throu-HTTP-Post-request/m-p/56694#M10831</link>
      <description>Hi,

I know this will be a very general question but I need a direction how to continue with this - I try to send a file via API using VBO 'Utility - HTTP', action 'Post'. I know I should very probably convert the file to binary, which I have done, but how to 'append' it to the request? There is an input of the action called 'Post Data' but it is a collection and I do not know how to structure it.

The communication via http works since I get a customized error mesasge that I forgot to append a file.

Thanks for any hints.

Regards,

Michal Klodner</description>
      <pubDate>Tue, 23 Oct 2018 18:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-file-throu-HTTP-Post-request/m-p/56694#M10831</guid>
      <dc:creator>MichalKlodner</dc:creator>
      <dc:date>2018-10-23T18:45:00Z</dc:date>
    </item>
    <item>
      <title>Hi Michal,
I have a similar…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-file-throu-HTTP-Post-request/m-p/56695#M10832</link>
      <description>Hi Michal,
I have a similar problem.
I gave up sending the file using BluePrism and used the command line to send the file instead.
Maybe not the cleanest of solutions, but it works.
Regards,
Rudi
&amp;nbsp;</description>
      <pubDate>Fri, 26 Oct 2018 11:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-file-throu-HTTP-Post-request/m-p/56695#M10832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-26T11:31:00Z</dc:date>
    </item>
    <item>
      <title>&gt; There is an input of the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-file-throu-HTTP-Post-request/m-p/56696#M10833</link>
      <description>&amp;gt;&amp;nbsp;There is an input of the action called 'Post Data' but it is a collection and I do not know how to structure it.
In general, open HTTP VBO and see how it works. (Or you can always create your own VBO)
Basically ""Post Data""&amp;nbsp;should contain one row, rest is ignored. Get Body stage builds a&amp;nbsp;string from it, for each column in that row in it adds urlencoded ""ColumnName=Value"" pairs separated by &amp;amp;
Binary files are normally sent by browser as&amp;nbsp;multipart/form-data instead of&amp;nbsp;application/x-www-form-urlencoded, because latter adds significant overhead for big binary files - it looks like you'd have to create your own action for multipart/form-data, if you need it.
Nevertheless, server should be able to accept&amp;nbsp;application/x-www-form-urlencoded file too, which can be sent with HTTP VBO... just be prepared that your request might end up like 2-3 times&amp;nbsp;the size of the actual file.</description>
      <pubDate>Fri, 26 Oct 2018 19:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-file-throu-HTTP-Post-request/m-p/56696#M10833</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2018-10-26T19:12:00Z</dc:date>
    </item>
    <item>
      <title>Off topic, how do you…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Send-file-throu-HTTP-Post-request/m-p/56697#M10834</link>
      <description>Off topic, how do you convert the file name to Binary?</description>
      <pubDate>Sat, 05 Jan 2019 01:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Send-file-throu-HTTP-Post-request/m-p/56697#M10834</guid>
      <dc:creator>pranavred</dc:creator>
      <dc:date>2019-01-05T01:58:00Z</dc:date>
    </item>
  </channel>
</rss>

