[Virus] Make Virus cli invokeable
Review Request #236 — Created Nov. 2, 2013 and submitted — Latest diff uploaded
Information | |
---|---|
pprkut | |
Virus | |
pprkut:urls | |
|
|
Reviewers | |
This makes Virus' websites and webservices available on the commandline. hwiesinger@callisto:/mnt/progs/vcs/git/m2mobi/virus (cli)$ php ./index.php --controller=facebook --method=get_login_url --post=app_id=abcd\&app_secret=secret\&scope=email { "result": 200, "url": "https:\/\/www.facebook.com\/dialog\/oauth?client_id=abcd&redirect_uri=facebook%2Fget_login_url&state=ce1bd0ea5f58cb224385f961b6507169&scope=email" }
Sample web/cli requests