I am fairly new to HTTP Protocols involving proxies and authentication. I am working on an application that runs on Windows and uses the host network to send/receive HTTP/S requests. It also uses Libcurl to help the transfer.
When I use the proxy I get 407 authentication required. I am not sure how to overcome proxy authentication. I tried various available settings with CURL like BASIC / DIGEST / NTLM. None of them seems to work. But if I hardcode the username and password in the request I see the request go through.
How can I avoid hardcoding the username/password and stil ensure that proxy usage will work?