Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Laravel 7:
Http::post('https://example.com/endpoint', [
'param' => 'value',
]);
CUlm'om request to make:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.example.com/");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
'param1' => 'value2',
]));
curl_exec($ch);
curl_close($ch);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question