Learn How to Create a Server Code Script to Invoke a REST API in 5 Minutes
In this 5-minute video you will learn how to invoke a REST API from the server (instead of directly from the client. There are a number of benefits to invoke an API from the server:
- JavaScript is the language used to write the script (and you already know JavaScript!)
- 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)
- The API keys and tokens are secure
- Script is exposed via REST API (to be invoked from the app)
- Script has API to access Appery.io Database, Push
- A script can be saved as a library and used in other scripts
- Script changes can be made without updating the client (app)
- It’s tool to write code 🙂
Check out all the other Build in 5 Minutes videos.