'HTTP_AUTHORIZATION','X-SGC-Client'=>'HTTP_X_SGC_CLIENT','X-SGC-Context'=>'HTTP_X_SGC_CONTEXT']as$from=>$to)$headers[$to]=$input['headers'][$from]??null; $r=$send($input['body']??[],$input['headers']['X-Idempotency-Key']??null,$headers,$input['path'],null,$input['method']); file_put_contents($proofRoot.'/'.basename($argv[2]),json_encode($r,JSON_THROW_ON_ERROR));