Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ You can use control.py to add jobs to the server::
Using a HTTP request
--------------------

To add a job using the HTTP interface, simply GET or POST the url http://host:port/json/addjob with any job attributes.
To add a job using the HTTP interface, simply GET or POST the url http://host:port/xmlrpc/addjob with any job attributes.

Example::

http://127.0.0.1:19211/json/addjob?title=job&cmd=echo toto&priority=1000&affinity=linux&retry=10
http://127.0.0.1:19211/xmlrpc/addjob?title=job&cmd=echo toto&priority=1000&affinity=linux&retry=10