echo $_POST['name'];
$client = new \GuzzleHttp\Client();
$promise = $client->postAsync('https://site/post/', [
'name' => 'John'
])->then(function ($response) {
echo 'I completed! ' . $response->getBody();
});
$promise->wait();
echo $_POST['name'];
02-Sep-2020 09:27:12 UTC] PHP Fatal error: Uncaught GuzzleHttp\Exception\ServerException: Server error: `POST https://site/post/` resulted in a `500 Internal Server Error` response:
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta n (truncated...)
FOR /F "tokens=*" %%G IN ('wmic process where name^="game.exe" get ProcessId ^| FINDSTR /v ProcessId ^| FINDSTR /r /v "^$"') DO (
%nircmdc% win activate process /%%G
%nircmdc% sendkeypress f1
TIMEOUT /T 1 /NOBREAK
)