I want to execute cURL commands from ScriptRunner. I am able to execute commands but can't figure out how to pass headers which contain spaces.
For the example:
def command = "curl -H 'Authorization:Basic base64' https://abc.com/confluence/rest/api/space/"
def proc = command.execute()
I receive an error that the host "base64" was not found. How can I pass the header properly?
I have tried it with quotes, double quotes and %20.
Thanks a lot in advance
It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event