RE: [WebDNA] anyone use curl with shell?

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105276
interpreted = N
texte = Thanks Marc. I tried this but nothing gets set to the variable. [text]test=3D[shell]curl -m 60 -d "apiKey=3Dx&token=3Dx&format=3Dxml" = https://rpxnow.com/api/v2/auth_info[/shell][/text] What does -m 60 mean? BTW, this works [shell]curl -d "apiKey=3Dx&token=3Dx&format=3Dxml" = https://rpxnow.com/api/v2/auth_info > curl.txt[/shell] -----Original Message----- From: Marc Thompson [mailto:mthompson@media.utah.edu]=20 Sent: Thursday, June 03, 2010 1:47 PM To: talk@webdna.us Subject: Re: [WebDNA] anyone use curl with shell? Here's How I use it on unix: [Text ]Result=3D[Shell]LD_LIBRARY_PATH=3D/opt/mine/lib=20 /opt/mine/bin/curl -m 60 -d "var1=3D[val1&var2=3D[val2]"=20 http://thedomain.com/process.tpl[/Shell][/text] Marc On 6/3/2010 5:24 PM, Olin Lagon wrote: > When I use curl via SHEL, the output doesn't get displayed (can be = piped to > a text file so it does work). Anyone work with curl and shell that can = share > a tip on how to get the results of curl so I can set to a webdna = variable? > > Thanks! Olin > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list. > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 > . > --=20 ------------------------------------------- Marc Thompson Software Engineer Media Solutions University Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us old archives: http://dev.webdna.us/TalkListArchive/ Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] anyone use curl with shell? (Marc Thompson 2010)
  2. RE: [WebDNA] anyone use curl with shell? ("Olin Lagon" 2010)
  3. RE: [WebDNA] anyone use curl with shell? ("Olin Lagon" 2010)
  4. Re: [WebDNA] anyone use curl with shell? (Govinda 2010)
  5. Re: [WebDNA] anyone use curl with shell? (Marc Thompson 2010)
  6. Re: [WebDNA] anyone use curl with shell? ("Dan Strong" 2010)
Thanks Marc. I tried this but nothing gets set to the variable. [text]test=3D[shell]curl -m 60 -d "apiKey=3Dx&token=3Dx&format=3Dxml" = https://rpxnow.com/api/v2/auth_info[/shell][/text] What does -m 60 mean? BTW, this works [shell]curl -d "apiKey=3Dx&token=3Dx&format=3Dxml" = https://rpxnow.com/api/v2/auth_info > curl.txt[/shell] -----Original Message----- From: Marc Thompson [mailto:mthompson@media.utah.edu]=20 Sent: Thursday, June 03, 2010 1:47 PM To: talk@webdna.us Subject: Re: [WebDNA] anyone use curl with shell? Here's How I use it on unix: [Text ]Result=3D[shell]LD_LIBRARY_PATH=3D/opt/mine/lib=20 /opt/mine/bin/curl -m 60 -d "var1=3D[val1&var2=3D[val2]"=20 http://thedomain.com/process.tpl[/Shell][/text] Marc On 6/3/2010 5:24 PM, Olin Lagon wrote: > When I use curl via SHEL, the output doesn't get displayed (can be = piped to > a text file so it does work). Anyone work with curl and shell that can = share > a tip on how to get the results of curl so I can set to a webdna = variable? > > Thanks! Olin > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list. > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 > . > --=20 ------------------------------------------- Marc Thompson Software Engineer Media Solutions University Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us old archives: http://dev.webdna.us/TalkListArchive/ Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 "Olin Lagon"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

download database (2000) [defined]ish (1997) delete a file? (1998) [WebDNA] Cannot get WebDNA and MySQL working. (2015) WebCatalog/Mac 2.1b2 New Features (1997) writing orders to a db (1997) Version 4? (2000) Hiding HTML and page breaks (1997) server2003 isolation mode (2004) Stumped on ShowNext -using variables (1997) Multihoming and webcat (1998) Duplicates (1998) F*** you (1998) [decrypt seed=seed][getchars (1999) Help with getting rpm file (2002) Document Contains No Data msg (1997) Webstar 1.3.1 PPC (1997) listfiles-looking for slick solution (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) autosensing lanague selection (1997)