Difference between revisions of "Template:GetNodeID"

From wikieduonline
Jump to navigation Jump to search
 
Line 2: Line 2:
 
     "jsonrpc":"2.0",
 
     "jsonrpc":"2.0",
 
     "id"    :1,
 
     "id"    :1,
     "method" :"[[info.getNodeID]]"
+
     "[[method]]" :"[[info.getNodeID]]"
 
  }' -H '[[content-type:application/json]];' 127.0.0.1:9650[[/ext/info]]
 
  }' -H '[[content-type:application/json]];' 127.0.0.1:9650[[/ext/info]]

Latest revision as of 15:31, 11 May 2023

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

Advertising: