From fa53ca68b004b9a97906e0bcfe8a7d3ba2ad0f9c Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sun, 29 May 2011 16:06:28 +0200 Subject: Cleanup RPC usage output a bit Signed-off-by: Lukas Fleischer --- web/html/rpc.php | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'web/html') diff --git a/web/html/rpc.php b/web/html/rpc.php index 18ad3ec..ee7cda3 100644 --- a/web/html/rpc.php +++ b/web/html/rpc.php @@ -18,22 +18,18 @@ else { // here. ?> -The methods currently allowed are:
+

The methods currently allowed are:


-Each method requires the following HTTP GET syntax:
-   type=methodname&arg=data -

-Where methodname is the name of an allowed method, and data is the argument to the call. -

-If you need jsonp type callback specification, you can provide an additional variable callback. -
-Example URL:
-    http://aur-url/rpc.php?type=search&arg=foobar&callback=jsonp1192244621103 +
  • search
  • +
  • info
  • +
  • multiinfo
  • +
  • msearch
  • + +

    Each method requires the following HTTP GET syntax:

    +
    type=methodname&arg=data
    +

    Where methodname is the name of an allowed method, and data is the argument to the call.

    +

    If you need jsonp type callback specification, you can provide an additional variable callback.

    +

    Example URL: http://aur-url/rpc.php?type=search&arg=foobar&callback=jsonp1192244621103