What is JSON?
JSON (stands for JavaScript Object Notation) is a format for storing and transmitting data over a network, used in almost all scripting languages, including Java, JavaScript, PHP, Python, C++, C#, Go, and many others. Web applications use JSON to exchange data between a web browser and a server and exchange data between servers via REST or JSON APIs. JSON file names use the .json file extension.
What is API?
Application Programming Interface is definitions and protocols for building and integrating application software. An API is a software intermediary that allows two systems to communicate. APIs are usually readily available to developers, well documented, suitable for use in version control systems, and conform to HTTP and REST standards.
What is JSON API?
JSON API is a specification for how clients should request data from the server and how the server should respond to those requests. JSON API is designed to minimize the number of requests and the amount of data transmitted between clients and servers. The JSON API is fully described on JSONAPI.org
How extract JSON data from API?
The following is an example of sending a JSON API request to the ReqBin echo URL:
Server response to our JSON API request: