Pass a username and password for server authentication

http

http --auth {{username:password}} {{example.org}}

click the source code to copy install http on any operating system with command-not-found.com