title: symfony 4 create post request in proccess
body: <p>I want to create function which will execute other url (this url generate file on server) and get responce and then send message to user, but I want not to use ajax, I try to user Reqeust object but it don't work.</p>
  
  <pre><code>public function testCreateFile() {
  
      $uri = 'http://someuri/somefuncition';
      $method = 'POST';
      $paramaters = array(
          'csv' =&gt; '20190102212655-product-test.csv',
          'type' =&gt; '5', 
  
      );
     $request = new Request();
     $request-&gt;create($uri,$method,$paramaters);
  
  
      return new Response("Message to user") ;
  }
  </code></pre>
  
  <p>How I should do coreectly?</p>
  
  <p>Thanks for help in advance.</p>