def response = sh(script: 'curl https://some-host/some-service/getApi?apikey=someKey', returnStdout: true)
def response = sh 'curl https://some-host/some-service/getApi?apikey=someKey'