Curl POST With Basic Authentication [Curl/Bash 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 Curl/Bash code was automatically generated for the Curl POST Basic Authentication example.