curl -s http://meet97263421.adobeconnect.com/api/xml?action=common-info | \
grep -oP '(?<=<cookie>).*?(?=</cookie>)|(?<=account-id=").*?(?=")' 2>&1\
The above curl/grep command returns the following data:
na3breezswp8yf3s5fghdgn4
1013353222
How do I send these two outputs to a second curl command:
curl "https://meet97263421.adobeconnect.com/api/xml?\
action=login&login=USERNAME&password=PASSWORD&account-id=[$1]&session=[$0]"
I'm using [$1] and [$0] as place holders.