Post by CarmeloLabadie » Wed Nov 24, 2021 4:19 pm

I am sharing it here as a short explanation after some of our friends asked via private message.

The API allows you to exchange information with the site without loading/viewing the entire site.
This is actually a very old technique, but it has started to find a new place in web applications, especially after the development of JSON and REST structures, it became famous.

Let's say you are going to write an android application and you want it to interact with your site, that's where the API comes to your aid and offers you ready-made functions, for example, you wanted to show all products in a category, with a dialog like "www.sitename.com/getAllProducts?Category_id=80" You can receive and process the information as JSON, so you can make an application running at very high speeds in a native android application.

For another example, let's say you wrote an Interpreter program for your accounting program, you can securely perform payment/customer transactions by communicating with the API, rather than putting the database in danger by opening it directly to the internet.


Posts

Joined
Wed Nov 24, 2021 3:42 pm

Post by rjcalifornia » Fri Nov 26, 2021 10:02 pm

CarmeloLabadie wrote:
Wed Nov 24, 2021 4:19 pm
I am sharing it here as a short explanation after some of our friends asked via private message.

The API allows you to exchange information with the site without loading/viewing the entire site.
This is actually a very old technique, but it has started to find a new place in web applications, especially after the development of JSON and REST structures, it became famous.
Not only an Android Application. You can make your own SPA in Vue or ReactJS, and use OpenCart as the backend for your store.

Image

Take advantage of A2 Hosting Black Friday/Cyber Monday sales with the lowest prices of the year from 11/22-12/5.

- Get shared Turbo Boost for the price of the Drive
- Get managed Warp 1 for the same price as Unmanaged Hyper 1
- Get Warp 2 Turbo for the same price as Warp 2
- All of that at the lowest pricing of the year


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide
Who is online

Users browsing this forum: No registered users and 19 guests