On Thu, May 11, 2017 at 07:56:00AM -0400, Jerry Geis wrote:
Hi - I am using CentOS 7.3 and trying to receive basic authentication.
I run a command liked: curl -X POST -u jerry:pw http://192.168.1.8/inbound.cgi
When I use printenv in the cgi I do not see the user and password anywhere. Isn't it supposed to be there in an environment variable like REMOTE_USER ?
Is this a 'curl' question, a 'How do you write CGI?' question or a general question about how HTTP works?