I am trying to do some testing of Kannel with my modem and I cannot get a request to Kannel to work in Perl (on Ubuntu 8.04).
I am attempting to do something like this: open(RESPONSE, lynx -dump "http:...&text=hi" | ); $response = <RESPONSE>; When I do this I get an authorization error. If I try the lynx call at the command prompt I get the same error. (It works great if I only request a status instead of a sendsms request.) However, if I copy the http request and paste it into a browser such as firefox it works fine. So I know the http request has all of the parameters correct. Here are my two questions: Can anyone explain why "lynx -dump ..." works when requesting a status but does not work when requesting a sendsms? Is there a better way to do this in Perl? Thanks, -Tony
