@param string|object $uri
@param array         $headers
@param array|string  $datas
@param array         $files

@throws HttpAdapterException

@return ResponseInterface
424837
public function options($uri, array $headers = [], $datas = [], array $files = [])
    {
        return $this->send($uri, InternalRequestInterface::METHOD_OPTIONS, $headers, $datas, $files);
    }
827664
public function create($uri, $path = [], $parameters = [], $headers = [], $method = 'GET')
    {
        return $this->serializer->serialize(
            new Request($uri, $method, $path, $parameters, $headers),
            'json'
        );
    }
1362509
public function request($method, array $uriParts, array $options = [], array $headers = []) {

        $requestSigner = new RequestSigner($this->getAuth(), $method, $uriParts, $options);
        $headers += $requestSigner->getHeaders();

        return parent::request($method, $uriParts, $options, $headers);

    }
24787
public function delete($uri, $parameters=array(), $headers=array(), $rawencoding=null)
    {
        return $this->request($uri, 'DELETE', $parameters, $headers, $rawencoding);
    }
40462
protected function viewResponse($view, $data = array(), $status = 200, array $headers = array())
	{
		return $this->response($this->view($view, $data), $status, $headers);
	}
499605
public function deleteResource(
        $uri = '',
        $headers = []
    ) {
        $options = ['http_errors' => false, 'headers' => $headers];

        return $this->client->request(
            'DELETE',
            $uri,
            $options
        );
    }
1003624
public static function post($url, $headers = array(), $data = array(), $options = array()) {
		return self::request($url, $headers, $data, self::POST, $options);
	}
806831
public static function post($requestUri, array $postData = [], array $requestHeaders = [])
    {
        return new self(
            'POST',
            $requestUri,
            \array_merge(
                $requestHeaders,
                ['Content-Type' => 'application/x-www-form-urlencoded']
            ),
            \http_build_query($postData, '&')
        );
    }
106648
public function trace($uri, array $headers = [])
	{
		return $this->sendRequest(
			$this->message->createRequest('TRACE', $uri, $headers, null)
		);
	}
231565
public function call($method, $uri, $parameters = [], $cookies = [], $files = [], $server = [], $content = null)
    {
        $this->currentUri = $this->prepareUrlForRequest($uri);

        $symfonyRequest = SymfonyRequest::create(
            $this->currentUri, $method, $parameters,
            $cookies, $files, $server, $content
        );

        $response = $this->app->prepareResponse(
            $this->app->handle(Request::createFromBase($symfonyRequest))
        );
        $this->response = $this->createTestResponse($response);

        return $this->response;
    }
29670
public function post($url, array $data, array $headers = null)
    {
        $headers = is_null($headers) ? ['Content-Type: application/json; charset=utf-8'] : $headers;
        return $this->sendRequest('POST', $url, $headers, $data);
    }
919012
protected function respondWithSuccess($data, TransformerAbstract $transformer = null, array $headers = [])
    {
        if ($transformer) {
            return $this->respondTransformer($data, SymfonyResponse::HTTP_OK, $transformer, $headers);
        }
        return $this->respondWithSimpleSuccess($data);
    }
453829
public function delete($uri,array $headers,$body)
        {
            return $this->prepareRequest(self::DELETE,$uri,$headers,$body);
        }
1320556
public function post($uri, $body, array $headers = [])
    {
        $defaultHeaders = [
            'Authorization' => "Bearer {$this->token}",
            'Content-Type' => 'application/json',
            'Accept' => 'application/json'
        ];

        $headers = array_merge($headers, $defaultHeaders);

        return $this->client->post($uri, [
            'headers' => $headers,
            'body' => $body
        ]);
    }
191103
public function post(string $url, $data, array $headers = [])
    {
        if (is_array($data)) {
            $headers['Content-type'] = self::FORM_CONTENT_TYPE;
        }

        $ctx = $this->getContext('POST', $data, $headers);
        $response = file_get_contents($url, false, $ctx);
        $this->saveCookies($http_response_header);

        return $response;
    }
624158
public function delete($uri, array $data = [], array $headers = [])
    {
        $server = $this->transformHeadersToServerVars($headers);

        $this->call('DELETE', $uri, $data, [], [], $server);

        return $this;
    }
557455
public function head($uri,array $headers,$body)
        {
            return $this->prepareRequest(self::HEAD,$uri,$headers,$body);
        }