<http-request url="http://my-production.example.com/check-deployment.php"/>
Just perform a HTTP request to the given URL.
<http-request url="http://my-production.example.com/check-deployment.php" responseRegex="/Heartbeat/" verbose"true" observerEvents="connect, disconnect"/>
Perform a HTTP request to the given URL and matching the response against the given regex pattern. Enable detailed logging and log only the specified events.
<http-request url="http://my-production.example.com/check-deployment.php"> <config name="adapter" value="HTTP_Request2_Adapter_Curl"/> <header name="user-agent" value="Phing HttpRequestTask"/> </http-request>
Perform a HTTP request to the given URL. Setting request adapter to curl instead of socket. Setting an additional header.
<http-request url="http://my-production.example.com/check-deployment.php" verbose"true" method="POST"> <postparameter name="param1" value="value1" /> <postparameter name="param2" value="value2" /> </http-request>
Perform an HTTP POST request to the given URL. Setting POST request parameters to emulate form submission.