title: How to download files from server using Polymer framework
body: <p>I want to download file that served by my back end using Polymer.<br/>
  Back end is written on Scala with Play Framework. <br/>
  Action responsible for serving file is working ( i've tested by entering action path in browser tab).<br/>
  What i want is to get tis file by core-ajax component. <br/>
  Maybe i should use something else? I cannot find any hints on the web.<br/>
  <br/>
  Cheers!<br/></p>
  
  <p><strong>UPDATE:</strong>
  Here is template part of code of component that i'm trying to launch, it is hosted inside of core-pages.</p>
  
  <pre><code>  &lt;template&gt;
          &lt;link rel="stylesheet" type="text/css" href="../stylesheets/main.css"&gt;
          &lt;core-ajax
              id="getData"
              url="http://localhost:9000/getResult"
              method="GET"
              handleAs="document"
          &gt;&lt;/core-ajax&gt;
  
  
  
          &lt;label&gt;Input id:&lt;/label&gt;
          &lt;paper-input value="{{idToView}}" id="idInput" placeholder="id"&gt;&lt;/paper-input&gt;
         &lt;!-- &lt;paper-button on-tap="{{getResults}}" class="colored" raised&gt;Create a link&lt;/paper-button&gt;--&gt;
  
          &lt;p&gt;
              &lt;paper-autogrow-textarea id="a1"&gt;
                  &lt;textarea id="t1"&gt;&lt;/textarea&gt;
              &lt;/paper-autogrow-textarea&gt;
          &lt;/p&gt;
      &lt;/template&gt;
  </code></pre>