Re: [WebDNA] anyone use curl with shell?

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105281
interpreted = N
texte = Olin, Her ya go: http://curl.haxx.se/docs/manpage.html#-m--max-time Marc On 6/3/2010 9:04 PM, Olin Lagon wrote: > Thanks Marc. I tried this but nothing gets set to the variable. > > [text]test=[shell]curl -m 60 -d "apiKey=x&token=x&format=xml" https://rpxnow.com/api/v2/auth_info[/shell][/text] > > What does -m 60 mean? > > BTW, this works > > [shell]curl -d "apiKey=x&token=x&format=xml" https://rpxnow.com/api/v2/auth_info> curl.txt[/shell] > > -----Original Message----- > From: Marc Thompson [mailto:mthompson@media.utah.edu] > 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=[Shell]LD_LIBRARY_PATH=/opt/mine/lib > /opt/mine/bin/curl -m 60 -d "var1=[val1&var2=[val2]" > 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=topics&category=288 >> . >> > -- ------------------------------------------- Marc Thompson Software Engineer Media Solutions University Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- 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)
  7. [WebDNA] anyone use curl with shell? ("Olin Lagon" 2010)
Olin, Her ya go: http://curl.haxx.se/docs/manpage.html#-m--max-time Marc On 6/3/2010 9:04 PM, Olin Lagon wrote: > Thanks Marc. I tried this but nothing gets set to the variable. > > [text]test=[shell]curl -m 60 -d "apiKey=x&token=x&format=xml" https://rpxnow.com/api/v2/auth_info[/shell][/text] > > What does -m 60 mean? > > BTW, this works > > [shell]curl -d "apiKey=x&token=x&format=xml" https://rpxnow.com/api/v2/auth_info> curl.txt[/shell] > > -----Original Message----- > From: Marc Thompson [mailto:mthompson@media.utah.edu] > 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=[shell]LD_LIBRARY_PATH=/opt/mine/lib > /opt/mine/bin/curl -m 60 -d "var1=[val1&var2=[val2]" > 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=topics&category=288 >> . >> > -- ------------------------------------------- Marc Thompson Software Engineer Media Solutions University Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- Marc Thompson

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:

Help name our technology! (1997) [WebDNA] CICADA (2008) WebCat2b13 Command Reference Doc error (1997) Forcing a NEWCART (1997) Limitations on fields? Server is crashing (1997) Protect (1997) webdelivery not working (1998) WebDNA SpeedTest Update (2006) searchable list archive (1997) Rumpus/Typhoon modules included in Typhoon ... (1997) NT 4.0/IIS WebCat Installation (1998) Alternative To WebDNA? (2006) [OT] MACWORLD (2003) Support ?? (1997) [SearchString] problem with [search] context (1997) email preferences on NT (1997) [OT] 'Email this story to a friend' (2003) [cart] not being interpreted inside [founditems] (1997) Error 11 (1996) WebDNA Solutions ... sorry! (1997)