In this chapter, I am mostly talking about API servers (and not the API’s that are available within JavaScript) that serve data to web and mobile apps using JSON.

back to table of contents

some details

There are dozens of technologies that can be used to deliver data from servers to clients. In our case, the client is the web app, running on the web browser.

One of the technologies used to server data to web apps (and majority of mobile apps or any app on majority of devices) is API server technology. These are standardized technogy frameworks that can be build using technology platforms such as .NET, .NET Core, Node JS, Java and so on.

API servers usually have the following features.

Its usually a good idea to try out the API server and its endpoints using Swagger or Postman or CURL before using the API in your code.

You could just watch our video here on how to use Swagger. You could just watch our video here on how to use Postman. You could just watch our video here on how to use Curl.

tiny note on JSON

JSON is a platform agnostic data exchange format. That means, once you have an API server that serves data using JSON, it can be consumed by pretty much any web app, mobile app, gaming device, desktop app and almost any kind of app that understands JSON.

important note

This code is provided as is without any warranties. It’s primarily meant for our own use. Feel free to use this code as it pleases you.


Owner and Developer of this project - Jay