0

I'm trying to use CURL on the following address (example)

https://examplesite.com/ExampleService/ExampleService.asmx?wsdl

When I copy the url to a browser i get the browser login popup and using the username and password i get to see the webservice XML file

But when i try to call curl to the same address using

curl -u username:password https://examplesite.com/ExampleService/ExampleService.asmx?wsdl

I get a 401 reply error. What might be the problem ?

lior r
  • 2,220
  • 7
  • 43
  • 80

1 Answers1

0

I think this website does not support the basic authentication. That is the reason why you cannot log in by CURL.

Ngọc Tú
  • 21
  • 4