code: public function receive(Request $request)
      {
          $client = new Client();
  
          $data = $request->getData();
  
          $url = call_user_func_array('sprintf', array_merge(
              array($data['source']['url']),
              array_map(
                  function ($element) {
                      return urlencode($element);
                  },
                  $data['arguments']
              )
          ));
  
          $method = 'GET';
  
          if (isset($data['source']['method'])) {
              $method = $data['source']['method'];
          }
  
          $options = array();
  
          if (isset($data['source']['options'])) {
              $options = $data['source']['options'];
          }
  
          $response = $client->request($method, $url, $options);
  
          return new Response((string) $response->getBody());
      }
docs: {@inheritdoc}