1 2 3 4 5 6 |
#Crear el fichero PHP con el contenido: #<?php echo htmlspecialchars($_POST['nombre']); ?> tiene <?php echo (int)$_POST['edad']; ?> años. $postParams = @{nombre='Juan';edad='34'} $web=Invoke-WebRequest -Uri 'https://localhost/examplepost.php' -Method Post -Body $postParams $web.content |