Laravel.io
$client = new \GuzzleHttp\Client();
                $client->getEmitter()->attach(new Namshi\Guzzle\Subscriber\CurlFormatter());

                try {
                    $request = $client->post(config('exchange.api.url'),
                        [
                            'auth'=>[config('exchange.api.login'), config('exchange.api.password')],
                            'headers'=>['token'=>config('exchange.api.token'), 'Change-status'=>'true'],
                            'body'=>json_encode(['status_id'=>$status->external_code]),
                        ]);
                } catch (\Exception $exception) {
                    dd($exception->getMessage());
                }

Please note that all pasted data is publicly available.