var customAPI= Java.type('ext.api.CustomAPI');
We have configured custom domain and its working fine as other POST APIs are working fine. I am calling the above code with http GET and the readEntityData() never gets called. I've a sysout in the customAPI.test() and it doesn't appear in the MS logs. If I call .test() method any other existing post API then I do see the sysout.
Shouldn't readEntityData() gets called automatically? Do I need to call it explicitly in my GET call?