How To Make A Node Call From Another Node In A Package On Connect Platform?
When developing a CONNECT package, how can you add a call to another node programmatically?
Solution 1:
you can easily do that via the javascript API:
const platform = require('connect-platform');
platform.call('/your-path', {
paramA: "some-value",
//// all other parameters you want to pass. if there are none, leave this empty.//
});
check this guide for more info on that: https://medium.com/connect-platform/inline-coding-in-connect-platform-534fce3c8cdf
Post a Comment for "How To Make A Node Call From Another Node In A Package On Connect Platform?"