Skip to content

Async API Calls

Choose a tag to compare

@NicmeisteR NicmeisteR released this 18 Dec 08:18

Changelog

  • The "get" function now handles calls asynchronously
    async function get() {
    try {
        test = await node.get(
            "https://apiurlhere.com/",["api key desc", "api key value"])
            .then(console.log("done"));
    }
    finally {
        console.log(test);
    }
};
  • Documentation has been updated and examples have been added.