Hi!
Yes it is possible:
- create a new column named "curl", where you craft your curls (one per line)
- Once done, you create a new column based on this column using the followin jython script (select jython, not GREL) :
#####
# This jython2.7 script has to be executed as jython, not GREL
# It allows you to execute a command (CLI) in the terminal and retrieve the result.
# H/T to Ettore Rizza
# import basic librairies
import time
import commands
import random
# get status and output of the command
status, output = commands.getstatusoutput(value)
# add a random between 2 and 5s pause to avoid ddos on servers... Be kind to APIs!
time.sleep(random.randint(2, 5))
# returns the result of the command
return output.decode("utf-8")
#####
- Parse the result usint the parseJson function.
Be aware to respect the API standards by adapting the random pause.
Hervé