David,
=div>Looking at this page:it would appear that you need WebDNA to generate three things for your auth=orization header:1. Unix timestamp=There was a fair bit of discussion on the list about this recent=ly, Brian submitted a function library which will generate the timestamp fo=r you2. Random 64bit NumberThis is a number with =20 digits, you should be able to cobble one together with [cart] and countc=hars etc.3. SHA-1 encoded signatureThis may be a problem - Donovan showed how to generate an MD5 hash using We=bDNA =A0[encrypt method=3DAPOP] =A0- but I haven't been able to success=fully generate a SHA-1 hash using WebDNA and/or a shell script- Tom
--
David Bastedo
Ten Pl=us One Communications Inc.
http://www=.10plus1.com
T. =A0416.603.2223
M. 416.277.4499
Twitter: @bert=mount
--0016e64cb432dbeb09047cad347f-- Associated Messages, from the most recent to the oldest:
--0016e64cb432dbeb09047cad347fContent-Type: text/plain; charset=ISO-8859-1Ah yes, I remember now - last time I had a crack at this, I had issues with#3, and #1 I am having issues with is seems as I think I started that lastconversation and my year is always off consistently - so it seems like I'llhave to start hitting my head against the wall for a bit to figure this out.If I figure it out I'll share.thanks for the input.d.On Fri, Jan 8, 2010 at 4:25 AM, Tom Duke
- Re: [WebDNA] API Integration (David Bastedo
2010) - Re: [WebDNA] API Integration (Donovan Brooke
2010) - Re: [WebDNA] API Integration (Govinda
2010) - Re: [WebDNA] API Integration (Stuart Tremain
2010) - Re: [WebDNA] API Integration (Dan Strong
2010) - RE: [WebDNA] API Integration ("Olin Lagon"
2010) - Re: [WebDNA] API Integration (Govinda
2010) - [WebDNA] API Integration (David Bastedo
2010) wrote:> David,>> Looking at this page:>> http://code.google.com/apis/accounts/docs/AuthSub.html>> it would appear that you need WebDNA to generate three things for your> authorization header:>>> 1. Unix timestamp> There was a fair bit of discussion on the list about this recently, Brian> submitted a function library which will generate the timestamp for you>> 2. Random 64bit Number> This is a number with 20 digits, you should be able to cobble one together> with [cart] and countchars etc.>> 3. SHA-1 encoded signature> This may be a problem - Donovan showed how to generate an MD5 hash using> WebDNA [encrypt method=APOP] - but I haven't been able to successfully> generate a SHA-1 hash using WebDNA and/or a shell script>>> - Tom>>>>>>>>>-- David BastedoTen Plus One Communications Inc.http://www.10plus1.comT. 416.603.2223M. 416.277.4499Twitter: @bertmount--0016e64cb432dbeb09047cad347fContent-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printableAh yes, I remember now - last time I had a crack at this, I had issues with= #3, and #1 I am having issues with is seems as I think I started that last= conversation and my year is always off consistently - so it seems like I=39;ll have to start hitting my head against the wall for a bit to figure th=is out.
If I figure it out I'll share.
thanks for the input.
d.On Fri, Jan 8, 2010 at 4:25 AM, Tom Duke <=span dir=3D"ltr"><tom@revoluti=onaries.ie> wrote:David,
=div>Looking at this page:it would appear that you need WebDNA to generate three things for your auth=orization header:1. Unix timestamp=There was a fair bit of discussion on the list about this recent=ly, Brian submitted a function library which will generate the timestamp fo=r you2. Random 64bit NumberThis is a number with =20 digits, you should be able to cobble one together with [cart] and countc=hars etc.3. SHA-1 encoded signatureThis may be a problem - Donovan showed how to generate an MD5 hash using We=bDNA =A0[encrypt method=3DAPOP] =A0- but I haven't been able to success=fully generate a SHA-1 hash using WebDNA and/or a shell script- Tom
--
David Bastedo
Ten Pl=us One Communications Inc.
http://www=.10plus1.com
T. =A0416.603.2223
M. 416.277.4499
Twitter: @bert=mount
--0016e64cb432dbeb09047cad347f-- David Bastedo
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:
Webcat causing crashes left and right! (1997) F3 crashing server (1997) [OT] Discussion forum, last visit, Cookie, ... (2003) Firesite and WebCat (1999) webstar in demo (2000) Trouble with formula.db (1997) Parameter Passing (2000) Which GUI HTML editors work with WC ? (1997) Loosing Quantity (2000) Emailer (1997) [WriteFile] problems (1997) Sandbox DB permissions (2005) Help name our technology! (1997) Grouping fields help (2004) How to append text after the sign & (1997) WebCat2 - storing unformatted date data? (1997) target=_blank and form variables (1997) Date comparison using showif (2003) Using Applescript to process WebCatalog functions (1998) Keeping text formatting (like hard returns) (2002)