Show More
@@ -32,7 +32,7 b' Clients must send JSON encoded JSON-RPC ' | |||||
32 | For example, to pull to a local "CPython" mirror using curl:: |
|
32 | For example, to pull to a local "CPython" mirror using curl:: | |
33 |
|
33 | |||
34 | curl https://kallithea.example.com/_admin/api -X POST -H 'content-type:text/plain' \ |
|
34 | curl https://kallithea.example.com/_admin/api -X POST -H 'content-type:text/plain' \ | |
35 | --data-binary '{"id":1,"api_key":"xe7cdb2v278e4evbdf5vs04v832v0efvcbcve4a3","method":"pull","args":{"repo":"CPython"}}' |
|
35 | --data-binary '{"id":1,"api_key":"xe7cdb2v278e4evbdf5vs04v832v0efvcbcve4a3","method":"pull","args":{"repoid":"CPython"}}' | |
36 |
|
36 | |||
37 | In general, provide |
|
37 | In general, provide | |
38 | - *id*, a value of any type, can be used to match the response with the request that it is replying to. |
|
38 | - *id*, a value of any type, can be used to match the response with the request that it is replying to. |
General Comments 0
You need to be logged in to leave comments.
Login now