Difference between revisions of "Curl -X POST"
Jump to navigation
Jump to search
(Removed redirect to Curl -X) Tag: Removed redirect |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | {{curl -X POST TOC}} | ||
− | {{curl -X POST}} | + | |
+ | curl -X POST --data '{ | ||
+ | "jsonrpc":"2.0", | ||
+ | "id" :1, | ||
+ | "method" :"[[info.getNodeID]]" | ||
+ | }' -H '[[content-type:application/json]];' 127.0.0.1:[[9650]][[/ext/info]] | ||
+ | |||
+ | |||
+ | curl https://ethereum.end.point.example \ | ||
+ | -X POST \ | ||
+ | -H "[[Content-Type: application/json]]" \ | ||
+ | --data '{"method":"[[eth_getProof]]","params":["0x4200000000000000000000000000000000000016",[],"0x123456"],"id":1,"jsonrpc":"2.0"}' | ||
+ | |||
+ | == See also == | ||
+ | * {{curl -X POST}} | ||
+ | * {{curl -X}} | ||
+ | |||
+ | [[Category:curl]] |
Latest revision as of 08:35, 14 August 2024
curl -X POST -F 'name=linuxize'
curl -X POST --data
curl -X POST --insecure
curl -X POST --compressed
curl -X POST -d
curl -X POST -H
curl -X POST -H "Content-Type: application/json"
curl -X POST --data '{ "jsonrpc":"2.0", "id" :1, "method" :"info.getNodeID" }' -H 'content-type:application/json;' 127.0.0.1:9650/ext/info
curl https://ethereum.end.point.example \ -X POST \ -H "Content-Type: application/json" \ --data '{"method":"eth_getProof","params":["0x4200000000000000000000000000000000000016",[],"0x123456"],"id":1,"jsonrpc":"2.0"}'
See also[edit]
Advertising: