Nodejs policy/callout support in edge?

Does edge support nodejs callouts? like js, python or java

The document for ServiceCallout sample suggest the use of ScriptTarget in the servicecallout

http://docs.apigee.com/api-services/reference/service-callout-policy

But its not documented in the reference,

Can ServiceCallout can be used to implement nodejs callouts? Is this supported?

If this is supported, are there plans to support a first-class nodejs callout?

Thanks,

2 3 197
3 REPLIES 3

adas
Participant V

@Mukundha Madhavan Can you elaborate on that. Are you saying you want to make service callout to a node.js script endpoint that is part of the same proxy bundle ?

I do see the ScriptTarget element in the docs for ServiceCallout policy but I am not entirely sure that its supported. Will give it a try and confirm.

yes, exactly that -

If it is supported - will be good to know if there nodejs policy would become a first-class policy like js or python or java?

Yes. I haven't tried it either, but @Mukundha Madhavan mentioned ServiceCallouts had that ability. That'd be awesome! Looking forward for the result of your tests @arghya das. And of course, I'll try it myself too. Stay tuned.