Difference between revisions of "Curl -d"

From wikieduonline
Jump to navigation Jump to search
 
Line 10: Line 10:
 
     -d '{"login":"my_login","password":"my_password"}'
 
     -d '{"login":"my_login","password":"my_password"}'
  
[[Stop]] [[op-batcher]]:
+
[[Stop]] <code>[[op-batcher]]</code>:
 
  [[curl -d]] '{"id":0,"jsonrpc":"2.0","[[method]]":"[[admin_stopBatcher]]","params":[]}' \
 
  [[curl -d]] '{"id":0,"jsonrpc":"2.0","[[method]]":"[[admin_stopBatcher]]","params":[]}' \
 
     -H "[[Content-Type: application/json]]" http://localhost:[[8548]] | [[jq]]
 
     -H "[[Content-Type: application/json]]" http://localhost:[[8548]] | [[jq]]

Latest revision as of 08:01, 21 June 2024

Advertising: