Difference between revisions of "Curl -X POST -H "Content-Type: application/json""
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
+ | 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"}' | ||
{{curl -X POST}} | {{curl -X POST}} |
Latest revision as of 08:26, 14 August 2024
curl -X POST -H "Content-Type: application/json" --compressed --data
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"}'
curl -X POST
Advertising: