Wachira
Posted on November 2, 2020
APIs (Application Programming Interface)
They are all about communications to other apps, they are like a bridge.
What makes them useful?
- Communication: allows communication between apps
- Abstraction: gets you what saving one the need to know the logic behind
- Standardized: there are industry standards that define an API e.g. SOAP, REST(Representational State Transfer), and GRAPH
REST API Request Requirements
- Operation: POST, GET, PATCH e.t.c
- Parameters: Files, JSON, XML
- Endpoint: The URL for the service/app you want to talk to
All REST requests have a response back from the service or app which can be a result, status, or empty content.
SDK (Software Development Kit)
SDK is basically a tool or code that makes API calls for you, an example you SDK could hold methods that one could basically call a payment gateway transaction by either passing certain arguments and get results from the initialized transaction.
💖 💪 🙅 🚩
Wachira
Posted on November 2, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
webdev A Comprehensive Guide to Enhancing E-commerce Experiences with Image Hosting APIs
November 27, 2024
reactnative CMake '\d' escape sequence error during react-native cli setup on windows
November 20, 2024