Level 1
Multiple ways to do this, but i use guzzle most of the time. Read up on:
https://docs.guzzlephp.org/en/stable/request-options.html
very simple example:
$client = new \GuzzleHttp\Client();
$client->post('https://streamz.woss.dev/api/save_retailers_data', [
'body' => json_encode($data)
]);`
1 like