HTTP request in Ubuntu
browser, http, request, ubuntu, url
Solution
in your command prompt, run the following:
curl http://www.smsggglobal.com/http-api.php?action=sendsms&user=asda&password=123123&&from=123123&to=1232&text=adsdad
the curl command executes an http request for a given url and parameters.
if you need to specify another HTTP method, `use curl -X <TYPE> <URL>`, like this:
curl -X POST http://www.smsggglobal.com/http-api.php?action=sendsms&user=asda&password=123123&&from=123123&to=1232&text=adsdad
curl documentation: http://curl.haxx.se/docs/manpage.html
Problem
i need to call a HTTP request in ubuntu how do i do it? I can't seem to find an answer around on how to to do it? How do run the following url without calling a browser like lynx to do it? ``` http://www.smsggglobal.com/http-api.php?action=sendsms&user=asda&password=123123&&from=123123&to=1232&text=adsdad ```