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