ScriptTask: perform a http method?

Can i perform a get post with vanilla js or AJAX or anything else from the ScriptTask? Since is the js of the jre i’m not sure

Hi @alice,

If you are fine with using a library for those requests, check out @StephenOTT’s post on using jsoup from script tasks: Replacing Http-Connector with Jsoup usage. You’ll have to provide the Jsoup library in the process engine’s classpath then.

Cheers,
Thorben

1 Like