Curl POST With Basic Authentication [PHP Code]

An example of making a POST request with basic authentication credentials using Curl. The basic authentication credentials are passed with the --user "login:password" command-line parameter. The POST data are passed with the -d parameter. The PHP code was automatically generated from the Curl POST With Basic Authentication.
Loading...