Using Postman with Besu
Interacting With a Besu Node in Postman (JSON-RPC API)
Create a Postman account, and then download and install Postman on your device. https://www.postman.com/downloads/
Sign into the Postman desktop application. On the menu bar, click on Workspaces and select ‘Create Workspace’. Give the workspace a relevant name and summary, then set the visibility to ‘Personal’.
From the Besu documentation, select Run in Postman to fork the collection to your workspace.
Create a new environment by clicking on the eye symbol on the upper right hand side of Postman, then select ‘Add' on the same line as Environment. The http port for Besu is 8545 by default, so if you are running it on a different port, be sure to modify the
rpc-http-portandjsonrpc.endpointvalues to match that.Then click the three dots icon next to ‘Share’ and select ‘Set as active environment’. If you already have a Besu node that is running, you can try a simple request such as an eth_blockNumber call to verify the connection setup.
Updating the Postman JSON-RPC collection
The collection is under version control in Postman Besu JSON-RPC API Postman collection
To make changes to the collection, you need to login, create a fork and do a PR - much like you’d do in GitHub.
For now, we have decided to retain RPC methods that have been deprecated and/or deleted from Besu itself in the collection.
From the [Besu documentation](https://besu.hyperledger.org/public-networks/reference/api ), select Run in Postman to fork the collection to your workspace.