Connecting directly to an Avisen network
What you will need
A favorite API explorer
We recommend https://insomnia.rest/ , https://httpie.io/ , or https://www.postman.com/product/api-client/ .
A url pointing to a node on a chosen network (see boot nodes for official listings)
Accessing the API
To help with navigating the API, each node has a webpage pointing to its documentation at https://YOUR_NODE_URL/docs/api. For example: https://testnet.avisen.org/boot-1/docs/api
Each API endpoint requires the
X-Network-ID
header. This header is used to make sure you are accessing the correct network.Example request: