Difference between revisions of "Curl -X POST"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
{{curl -X POST TOC}}
 
{{curl -X POST TOC}}
 +
 +
 +
curl -X POST --data '{
 +
    "jsonrpc":"2.0",
 +
    "id"    :1,
 +
    "method" :"[[info.getNodeID]]"
 +
}' -H '[[content-type:application/json]];' 127.0.0.1:[[9650]][[/ext/info]]
  
 
== See also ==
 
== See also ==

Revision as of 08:35, 14 August 2024


curl -X POST --data '{
    "jsonrpc":"2.0",
    "id"     :1,
    "method" :"info.getNodeID"
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/info

See also

Advertising: