HostOnNet Blog

Tag Archives: curl

Making POST request with curl

curl use socks5 proxy For an API request, i need to sent POST request with following data. POST https://api.ctl.io/v2/authentication/login Content-Type: application/json { “username”:”demouser1″, “password”:”mypassword” } This can be done with following curl command Here –request POST tell curl to use


How to install curl on Server2Go web Server in windows 7

I was trying to install OpenCart software on my windows 7 pc, but i got an error displaying CURL extension needs to be loaded for OpenCart to work! To install and run OpenCart on my pc curl must be installed/enabled.


Hide X-Powered-By: PHP

On a web site, HTTP headers show PHP version like X-Powered-By: PHP/5.1.6 [root@server12 ~]# curl -I http://netfree.netfreehost.com HTTP/1.1 200 OK Server: nginx/1.1.0 Date: Sun, 11 Sep 2011 20:00:40 GMT Content-Type: text/html Connection: keep-alive X-Powered-By: PHP/5.1.6 Cache-Control: no-cache, pre-check=0, post-check=0 Expires: