How to do a http post call to a rest api in a script task?
Theoretically, all the classes are exposed to groovy script task, so you can use your preferred rest client to do rest call, given it’s in classpath.
But I would want to discourage it. Use HTTP task and then use script task to manipulate the data.