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-timeMarcOn 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 ThompsonSoftware EngineerMedia SolutionsUniversity Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu-------------------------------------------
Associated Messages, from the most recent to the oldest:
Olin,Her ya go: http://curl.haxx.se/docs/manpage.html#-m--max-timeMarcOn 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 ThompsonSoftware EngineerMedia SolutionsUniversity Information TechnologyUniversity of Utah801.585.9264marc.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:
WebCatalog2 Feature Feedback (1996)
OK, here goes... (1997)
A little syntax help (1997)
MySQL and Numbers (2005)
New syntax feedback for 4.0 (2000)
[isfile] ? (1997)
Date Formats (1997)
rounding to nearest .05 (1999)
[Fileinfo] Context (2000)
Odd error in logs (1998)
Dealer Locator (2008)
PCS Frames (1997)
How to add product size choices to form? (1997)
[delete] problem (1997)
Calculating days, hours, minutes ago (2004)
Tracking System? (1997)
PCS Frames (1997)
[WebDNA] Upgrade from OS 10.7.5 WebDNA 6.2 to Mavericks (2013)
[SearchString] problem with [search] context (1997)
OBDC Support (1997)