Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Sugar Network/API
(view source)
Revision as of 21:33, 29 November 2012
272 bytes added
,
21:33, 29 November 2012
→Usage
Line 247:
Line 247:
* {{Code|PATH}}, is an url path;
* {{Code|PATH}}, is an url path;
* {{Code|ARG<nowiki>=</nowiki>VALUE}}, request arguments as they being passed to in url.
* {{Code|ARG<nowiki>=</nowiki>VALUE}}, request arguments as they being passed to in url.
+
+
{{Code|POST}} and {{Code|PUT}} commands requires data to pass, pass the following command-line arguments:
+
+
* {{Code|-f FILE}} to specify the file to pass;
+
* {{Code|-d DATA}} to specify string to pass;
+
* {{Code|-j}} posted data should be encoded into JSON before posting.
== Getting involved ==
== Getting involved ==
{{:Sugar_Network/Feedback}}
{{:Sugar_Network/Feedback}}
Alsroot
Bots
,
Bureaucrats
,
Check users
,
Administrators
,
Widget editors
5,705
edits