DEV Community

API Maker®
API Maker®

Posted on • Updated on

How to Save Single or Multiple Records Using API Maker 🚀

✔ If you are looking for a fast and easy way to save single or multiple records to any database using a single API, you should check out API Maker.

✔ API Maker can generate the most powerful APIs for 8 different databases, such as MongoDB, MySQL, PostgreSQL, Oracle, SQL Server, TiDB, Percona XtraDB, and Redis.

✔ You can save single or multiple records to any of these databases with ease and flexibility using the save single or multiple API.

✔ One API call of save can save data in multiple tables/collection and multiple database types also. API Maker can decide those things based on generated schema.

✔ API Maker also generates schema based on database tables automatically and in case of MongoDB it generates schema based on existing data.

â–¶ Save single record
URL

/api/gen/user-path/instance/database/table/save-single-or-multiple
Request Payload:

{
    "first_name": "Bob",
    "last_name": "Lin"
}
Enter fullscreen mode Exit fullscreen mode

â–¶ Save multiple records
URL

/api/gen/user-path/instance/database/table/save-single-or-multiple
Request Payload:

[
    {
        "first_name": "Bob",
        "last_name": "Lin"
    },
    {
        "first_name": "Alice",
        "last_name": "Page"
    }
]
Enter fullscreen mode Exit fullscreen mode

✔ The save single or multiple API is a powerful and versatile API that allows you to save single or multiple records to any table in any database.

✔ You only need to provide one parameter: saveData if you are accessing it from custom API.

✔ The saveData is an array of objects that contains the data that you want to save.

✔ Each object represents a single record that you want to save.

✔ The save single or multiple API will insert or update the records based on the primary key value of each object.

✔ API Maker is not only fast and easy to use but also secure and scalable. You can manage your API access with multilayer security features such as authentication authorization encryption and rate limiting. You can also scale your backend with load balancing and caching.

✔ API Maker is the complete backend solution for individual freelancers to giant enterprises. It can help you save time money and resources and deliver high-quality products to your clients. You can sign up for a free trial and get a live demo at API Maker.

✔ I hope you enjoyed this blog post and found it useful. If you have any questions or feedback about API Maker please let me know in the comments or contact them directly through their website.

Thank you for reading and happy coding! 🙂

https://apimaker.dev/

https://in.linkedin.com/company/api-maker

https://www.youtube.com/@api_maker/videos

Top comments (0)