Business Central Musings

For the things we have to learn before we can do them, we learn by doing them

API testing with Postman straight from Visual Studio Code

Share This Post

Since I started working with Business Central APIs, Postman proved to be an essential tool for API Testing. Postman allows you to create and execute API requests easily, making it an essential tool for API testing and validation. You can send GET, POST, PUT, DELETE, and other HTTP requests, including complex scenarios with variables and dynamic data.

How can we access Postman? First, Postman has a Windows application. You can download it, install it and start testing APIs: Download Postman | Get Started for Free

Secondly, you could use Postman Web Application, my preferred method to test APIs.

Also, you could install Postman Visual Studio Code extension. With it you can start testing Business Central APIs, or any APIs, straight from Visual Studio Code IDE. Just follow me in the video below. If you have any question, send me a note and I’ll be happy to help out.

In case you don’t like Postman you could leverage other tools like VS Code extension REST Client or Powershell to test your APIs.

Regardless of the tool you decide to perform your API testing, you will need an app registration in Azure Portal and in case you test BC APIs you will need to add that account to BC in the page Azure Active Directory Applications in BC.

Check my previous blog post here:

Using Postman to test OAuth 2.0 authorization to Business Central restful API – Business Central Musings (

When using Postman, as a VS Code extension, when setting up your Azure App Registration in Azure Portal, you need to add the following Redirect URI:

Today I’ll walk you through a demonstration of using Postman from VS Code to access Business Central API. Please subscribe for more tips, tricks and news on Business Central:

Share This Post

Related Articles

Leave a Reply

Recent Posts

Get Notified About New Posts

Verified by MonsterInsights