Use external library in plugin (for HTTP requests)

Is it possible to use an external library in the Toonboom JS scripting environment?

For example, I’d like to install a library so I can make HTTP requests.

It is not possible to use an external library in the Toonboom JS scripting environment.

You can however use Qt classes in the script:

var request = new QNetworkRequest;
var manager = new QNetworkAccessManager;

QNetworkRequest Class
https://doc.qt.io/Qt-5/qnetworkrequest.html

QNetworkAccessManager Class
https://doc.qt.io/Qt-5/qnetworkaccessmanager.html

Have you ever succeeded in this?
If yes, do you have an example of this?

I’ve been trying to contact an api on a local server to talk to an asset management system. (Kitsu/Zou)

I need to be able to put .json data that the server reponds in an array to get the correct info for a certain shot/asset.
I’d also like to send data to the server in the .json format.

Thanks