php_curl
This is an old revision of the document!
PHP Curl
Sometimes you need to test php curl. You can use php -r to do this.
(Using parameter -r you can directly execute PHP code simply as you would do inside a .php)
# php -r ' > $ch = curl_init(); > curl_setopt($ch, CURLOPT_URL, "https://api.mailgun.net"); > curl_exec($ch); > '
php_curl.1516786824.txt.gz · Last modified: 2024/05/23 07:26 (external edit)