Create Server Code Script to Invoke a REST API in 5 Minutes

This video shows how to invoke a REST API from the Server Code script. There are a number of benefits to invoke a REST API from the server instead of directly from the client:

  1. JavaScript is the language used to write the script
  2. Additional business logic can be added around the API. For example, in addition to sending an SMS, you can also send an email (SendGrid API)
  3. The API keys and tokens are secure
  4. Script is exposed via REST API (to be invoked from the app)
  5. Script has API to access Appery.io Database, Push
  6. A script can be saved as a library and used in other scripts
  7. Script changes can be made without updating the client (app)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s