I feel really silly asking this however I just can’t find documentation on how to call a third-party API if I am creating an Atlassian Connect app JIRA cloud.
The documentation at https://developer.atlassian.com doesn’t cover the documentation of third party APIs. With Atlassian Connect, you can develop in any language and host and serve your app in numerous ways so there would be too much for us to document. For a start, what language are you building your app in?
I may have intercommunicated my question. I am developing my own APIs hosted in a different server than my front-end (the Atlassian Connect app via node.js).
Am I just able to use http.request from my JIRA app?
When I do this: const request = require('request');
I get the following error: Uncaught ReferenceError: require is not defined
I can’t find the link now but I read somewhere that I am not able to import or require node modules like normal node apps.
My question is how would I go about making a REST call to a 3rd party API, not JIRA… Not asking about documentation of 3rd party APIs