getHttpClient()->post('/api/transfer', [ 'json' => [ 'server_id' => $server->uuid, 'url' => $node->getConnectionAddress() . sprintf('/api/servers/%s/archive', $server->uuid), 'token' => 'Bearer ' . $token, 'server' => $data, ], ]); } catch(TransferException $exception) { throw new DaemonConnectionException($exception); } } }