How use curl function in php -
here class function http post request:
protected function sendrequest($function, array $parameters) { return $this->httpclient->post($this->getapiurl() . $function, [ 'form_params' => $parameters, 'auth' => [$this->getapiusername(), $this->getapipassword()], 'verify' => false, ]); }
now want send http post request curl using above code. how do it, or how use above code <form method=post>
html.
Comments
Post a Comment