The Remote POST API is a simple class that will help you perform POST data across servers.
This is a simple and useful RPC (Remote Procedure Call) API code.
The main application of it is when you need to provide your clients a way to POST data into your Web Application directly into the remote server, this script will provide a basic API that you can customize and extend to your needs.
- Object Oriented Code
- Simple and easy
- Ready to use (only define your own fields)
- No database required
- Optimized for speed
- donation services
- web applications
- spread your web services
Use this if you want a REST alternative, but much more simple and easy to use. PHP Object Oriented class. No MySQl required.
Let’s say you have developed an web application. For example, an Event Booking system using SaaS (Software as a service) model. Sometimes your clients needs a alternative gateway to POST data into their accounts database, instead of the application per se. So, you create your own API to give them an organized access code to POST data. This is be fastest way to integrate their legacy system or websites with your web application.
Real business cases
- Twitter API – Twitter exposes its data via an Application Programming Interface (API)
- Facebook API – Facebook’s powerful APIs enable you to create social experiences to drive growth and engagement on your web site.
Ways that this code could be useful for youI copy-and-paste a very interesting suggestion of business use to this code. Thanks to cfoinfo.
“I guess this works for any application where you want a publicly accessible form to post data into tables that are accessed by a private application. For example a publicly accessible ‘donation’ or ‘funding request’ form that posts data into a private charity management system. This way you can provide the form code to lots of ‘supporter’ websites who can help to promote your charity and channel donations/requests via the API post into your application.”
If you have ideas that you would like to see it implemented, please let me know fernborba at gmail.com