AppDrag Support Center

How to create my first function?

Let's create our first AppDrag Cloud Backend API function by clicking on "New function" in the left menu under "API".

The new function screen appears You have the choice between:
  • Visual SQL API functions that are connected to CloudBackend Database. A simple interface is provided so you don't have to code anything
  • SQL Perform manual queries on your CloudBackend Database
  • Code Powerful API functions

For this example we will select "Node.js 8.10" with the sample "POST Parameters"
This sample function read the POST parameters and output it
This sample function is ready to run without any code changes. You can click the "Try" button in the top right corner and fill your test POST parameters in the modal.
In the payload you have the response returned from the API function filled with the POST parameters  You have a good starting point to write your own process instead of just returning a message in your Node.js function! (send an email, insert it into your Database, open a confirmation HTML content, ...)

 For more information on the code itself you can check this article.


Other articles

Need More Help?


If we've been asked before, it's in our Frequently Asked Questions!

Open FAQ


Chat directly with the AppDrag team!

Open WebChat

Certified Partners

Not enough time to build your site? Find a Certified Partner to help you!

More Info