reco Posted December 12, 2007 Report Share Posted December 12, 2007 i try to make a script to call a number with curl from the command line. curl -v --user "user:pwd" hhttp://10.0.24.2/remote_call.htm?user=40%40buero-newyork.com&dest=26 but i only get 401 Unauthorized curl -v --user ""user:pwd" http://10.0.24.2/remote_call.htm?user=40%4...com&dest=26 * Trying 10.0.24.2... connected * Connected to 10.0.24.2 (10.0.24.2) port 80 (#0) * Server auth using Basic with user '40' > GET /remote_call.htm?user=40%40buero-newyork.com HTTP/1.1 > Authorization: Basic NDA6MWUycXcyc2QwMA== > User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3 > Host: 10.0.24.2 > Accept: */* > < HTTP/1.1 401 Unauthorized * Authentication problem. Ignoring this. < Www-Authenticate: Basic REALM="buero-newyork.com" < Content-Type: text/plain < Content-Length: 22 < Unauthorized request * Connection #0 to host 10.0.24.2 left intact * Closing connection #0 i would love to create this dialer for the mac addressbook. please help... thanx Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.