Below is the code which I have written in Groovy
def flowFile = session.get() def postResult=\'\' def url = new URL("https://instrument-api.systems.uk.h