Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8858817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:54:52+00:00 2026-06-14T14:54:52+00:00

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

  • 0
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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:54:53+00:00Added an answer on June 14, 2026 at 2:54 pm

    Maybe this help:

    #!/bin/bash
    
    OUT=$(curl -s http://meet97263421.adobeconnect.com/api/xml?action=common-info \
    | grep -oP '(?<=<cookie>).*?(?=</cookie>)|(?<=account-id=").*?(?=")')
    
    # echo $OUT && echo 
    
    Session=$(cut -f1 -d' ' <<< $OUT)
    AccountID=$(cut -f2 -d' ' <<< $OUT)
    
    curl "https://meet97263421.adobeconnect.com/api/xml?action=login&login=USERNAME&password=PASSWORD&account-id=$AccountID&session=$Session"
    
    # or 
    
    curl "https://meet97263421.adobeconnect.com/api/xml?action=login&login=USERNAME&password=PASSWORD&account-id=`cut -f2 -d' ' <<< $OUT`&session=`cut -f1 -d' ' <<< $OUT`"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got this far: :~ curl -u username:password -d status=new_status http://twitter.com/statuses/update.xml Now, how can
Thanks to cURL's range function, this command outputs 9 pages: curl 'http://www.conquerclub.com/api.php?mode=gamelist&p1un=barrycarter&page=[1-9]' However, if
I'm running the following script: #!/bin/bash archive=`./builds/myapp.ipa` curl http://testflightapp.com/api/builds.json -F file=$archive -F api_token='xxxxxxxxxxxxxxxxxxxxxxxxxx' -F
The command I'm trying to execute from the terminal: curl http://acme.example.com/controller_name/destroy.xml?api_key=123&id=150&other_id=430 Just a simple
I am doing some json parsing in a bash script: curl http://myurl.com/get.json | sed
when I get the following url with curl curl -D headers.http http://www.springerlink.com/index/10.1007/s00453-007-9157-8 the file
Answer : Implemented using Curl... $file = http://abc.com/data//output.txt; $ch = curl_init($file); $fp = @fopen(out.txt,
when running a cron job like this: curl http://example.com/cronjob.php The output email contains this:
Please try this yourself :) ! curl http://www.windowsphone.com/en-US/apps?list=free the result is: <html><head><title>Object moved</title></head><body> <h2>Object
I'm trying to parse JSON returned from a curl request, like so: curl 'http://twitter.com/users/username.json'

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.