How To Use VS Code REST Client To Test Business Central APIs

In this article, we will learn to use the REST Client in VS Code to test Business Central APIs. We will start by understanding what REST API is. Then, we will install and set up the REST Client extension in VS Code. We will retrieve an access token and use it in HTTP requests to consume API endpoints.

Source : Business Central Geek
Read more…

How To Use Postman To Connect With Business Central APIs

In this article, we’ll explore how to use Postman, a popular API development tool, to connect and get data from Business Central. We’ll start by setting up OAuth in Azure, then using Postman to consume OData endpoints. Finally, we’ll look at how to use SOAP endpoints as well.

Source : Business Central Geek
Read more…

How to Call a Rest API GET Request in AL (Making a real-time currency exchange rates viewer)

Here you can get knowledge about how to send a GET request and read a JSON response in Business Central – AL. I made a simple real-time currency exchange rates viewing page. I used a free rest API to get currency exchange rates. Follow the below steps and AL code and try it yourself.

Source : NAVUSER
Read more…

Inexplicable delays when calling (OnPrem) Business Central API’s (and how to solve it)

We always try to upgrade all customers to latest release – and we encountered some delays in API communications, which seemed to got worse at every new upgrade. At some point, every API call took from 500 to 1000 milliseconds. I think we all agree that this is FAR to high. Even for a simple call, like getting the companies, it took so long.

Source : Waldo’s Blog
Read more…