Quickly and Easily Test APIs With the Avalanche Postman Collection

Postman is a free tool used by developers to quickly and easily send REST, SOAP, and GraphQL requests and test APIs. It is available as both an online tool and an application for Linux, MacOS and Windows. Postman allows you to quickly issue API calls and see the responses in a nicely formatted, searchable form.

We’ve made a Postman collection for Avalanche, that includes all the public API calls that are available on an AvalancheGo instance, allowing you to quickly issue commands to your node and see the response, without having to copy and paste long and complicated curl commands.

Along with the API collection, there’s also the example Avalanche environment for Postman, that defines common variables such as IP address of the node, your Avalanche addresses and similar common elements of the queries, so you don’t have to enter them multiple times.

Combined, they’ll allow you to easily keep tabs on your node, check on its state and do quick queries to find out details about its operation. Features include:

  • Easy to use: The Avalanche Postman Collection has a user-friendly interface that makes it easy for developers to quickly test and debug their APIs.
  • Support for multiple request types: The Avalanche Postman Collection supports all the common HTTP request methods, including GET, POST, PUT, and DELETE. This makes it easy to test APIs that use different request types.
  • Supports all of the AvalancheGo JSON-RPC endpoints including: Admin, Auth, AVM, EVM, Health, Index, Info, IPC, Keystore, Metrics, and PlatformVM
  • Variable and environment support: Pre-defined variables, such as baseURL, X/P/C-Chain addresses, memo, and more for use within your requests, making it easier to test APIs that require dynamic data for localhost, Fuji and Mainnet.
  • Integration with other tools: Postman integrates with other tools and services, such as AWS and Jenkins, making it a versatile tool that can be used in a variety of development environments.

Download the Avalanche Postman Collection here

8 Likes