Confused about how APIs are called

by entropy1   Last Updated July 18, 2019 00:05 AM - source

I'm new to APIs. Conceptually, I understand what an API is, but I get confused when it comes to the some of the technical details.

All of the tutorials I've read talk about URLs and endpoints, and they describe them as being the paths/addresses through which APIs can be accessed. This part is very clear; no confusion here.

However, what I don't understand is how APIs are called. In other words, in a real-world scenario, people don't actually type in a URL in some input box to call APIs, so I assume the calling is done behind the scenes, by some program, and in response to some trigger event? If my assumption is true, is it also true that when using a client like Postman to test APIs, you are basically emulating the behavior of said program?

Lastly, where are APIs typically stored?

Many thanks in advance!



Related Questions




How do I convince my boss to use REST over SOAP?

Updated June 27, 2015 17:02 PM

How to design document exchange system

Updated March 12, 2019 14:05 PM

What are some good design pattern for RESTful services?

Updated September 14, 2017 20:05 PM