How do I call an external REST API from my app's view JS?

I want to connect directly from my app to a REST API, how can I go about doing this?

This is well documented here:

Simply copy/paste the code snippet into your app to get going, and then update the snippet to match your use case.

1 Like