March 2018
Beginner to intermediate
656 pages
20h 9m
English
It is possible to interact with geth via JSONRPC over HTTP. For this purpose, the curl tool can be used.
Some examples are shown here to familiarize you with the POST request and show how to make POST requests using curl.
Before using the JSONRPC interface over HTTP, the geth client should be started up with appropriate switches, as shown here:
--rpcapi web3
This switch will enable the web3 interface over HTTP.
The Linux command, curl, can be used for the purpose of communicating over HTTP, as shown here in the example.
Retrieve the list of accounts: For example, in ...