I have some URL like this : X.XXX.XXX.XXX:10080
I tried to add a user and password in this url like this: http://OLM:OLM794$@X.XXX.XXX.XXX:10080
User = OLM
Psw = OLM794$
And it doesn't work
Also when I run : curl http://OLM:OLM794$@X.XXX.XXX.XXX:10080
it shows me :
curl: (6) Could not resolve host:OLM:OLM794X.XXX.XXX.XXX
, it removes $@
and the port :10080
When I try : curl -u OLM X.XXX.XXX.XXX:10080
then I enter the password, it works, Im able to connecte to that server.
My need is to call my url with user and password like this:
http://OLM:OLM794$@X.XXX.XXX.XXX:10080
But it doesn't work.
I read this solution : Using cURL with a username and password? but I haven't found solution
Have you an idea why ?