Changeset 11735
- Timestamp:
- Jan 21, 2011, 2:29:26 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/extras/rpc-spec.txt
r11686 r11735 45 45 since the port and path may be changed to allow mapping and/or multiple 46 46 daemons to run on a single server. 47 48 In addition to POSTing, there's also a simple notation for sending49 requests in the query portion of a URL. This is not as robust, but can50 be useful for debugging and simple tasks. The notation works as follows:51 52 (1) Any key not "tag" or "method" is treated as an argument.53 (2) The "arguments" key isn't needed, since data isn't nested.54 (3) If the value in a key/value pair can be parsed as a number, then it is.55 Otherwise if it can be parsed as an array of numbers, then it is.56 Otherwise, it's parsed as a string.57 58 Examples:59 ?method=torrent-start&ids=1,260 ?method=session-set&speed-limit-down=50&speed-limit-down-enabled=161 62 47 63 48 3. Torrent Requests
Note: See TracChangeset
for help on using the changeset viewer.