I am using to call a url from command prompt of curl. The url contains post data, user name and password. Added to that the response should be a file if authenticates or shows generally 401 response. I have been trying to find out the solution for the last 2 hours, but cant able to do that. For example i want to send two values(x,y) using post and with that i am sending the username and password also, say for instance
curl -u [email protected]:test http://www.example.com/mappingFile if i sending like this i am getting
<html><head><title>Error 405 Request method 'GET' not supported</title></head> <body><h2>Error 405 Request method 'GET' not supported</h2></body> </html> Please any body can help me.