# How to Test APIs

## Testing REST APIs Built on Blockflow Using Postman

If you have built a REST API on Blockflow, you can test it using Postman, a popular tool for API testing. Follow these steps to test your REST API:

1. **Access the API Page**

   * In the Blockflow platform, navigate to the API page where your REST API is located.

   <figure><img src="/files/quyDgkPwDD8VvhtJx55G" alt=""><figcaption></figcaption></figure>
2. **Open the Details Section**

   * Under the API details section, you will find a button labeled "Run in Postman".

   <figure><img src="/files/r2MuTYpvMv8RsaiCfmMa" alt=""><figcaption></figcaption></figure>
3. **Run in Postman**
   * Click on the "Run in Postman" button. This action will create a fork of your connection (API) in Postman, allowing you to test your API without modifying the original configuration.
4. **Test Your API**

   * Once the fork is created in Postman, you can start testing your API by sending HTTP requests  and analysing the responses.
   * Postman provides a user-friendly interface where you can specify request headers, parameters, and request body (if required).
   * You can also set up environment variables, collections, and test scripts to automate your API testing process.

   <figure><img src="/files/mbG2qbb74bHrDcyOO0VK" alt=""><figcaption></figcaption></figure>

By following these steps, you can efficiently test and validate your REST APIs built on Blockflow using the powerful testing capabilities of Postman. This approach allows you to ensure that your APIs are functioning correctly before deploying them to production environments.

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.blockflow.network/guides/creating-an-api/how-to-test-apis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
