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:

multi-paragraph fields (1997) Electronic Delivery (1997) WebCat2b15MacPlugin - [protect] (1997) Verifying and adding new users (1997) Include Files (1998) [OT] Domain Name Scam (2000) Exclamation point (1997) Extended [ConvertChars] (1997) New Plug-in and Type 11 errors (1997) Pass Thru Page? (1998) Price Hacking (1998) Searching multiple fields from one form field (1997) Problems w/ heavy use of cart header fields? (1998) Date in IF ELSE Comparison (2004) Authorize.net, SIM, tcpconnect and applescript (2003) Date problems (1997) calculating tax rates, mail order solutions and version 2 (1997) Duplicate Messages (1998) Email Line Breaks (2003) Database Repopulation (2004)