0
How do I request, after clicking a button, used Curl?
<html>
<head>
<title>loja</title>
<link rel="stylesheet" type="text/css" href="public/css/template.css" />
</head>
<body>
<div class="topo">
<div class="login">
<form method="POST" action="requisicaoCurl.php" name="login">
<input class="btn" type="text" placeholder="Usuário" name="usuario">
<input class="btn" type="password" placeholder="Senha" name="senha">
<button type="button" id="btn_entrar">Entrar</button>
</form>
</div>
</div>
</body>
</html>
need only, after click enter make a post request and return.
to using Laravel, in case but n need to authenticate with token, is only a request
– Heitor Mourão