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:
Closing Databases (1998) PCS Emailer's role ? (1997) Aquick question about replace (1999) WebCatalog NT beta 18 problem (1997) PIXO (1997) TeaRoom Order fields email account remain empty even thoughthewy are filled. (1997) New index for docs (1997) quotes and truncating? (1997) NT vs Mac (1997) Talk List Suggestions (1997) [Announce] Newest Commerce Site based on WebCatalog (1997) Security (1998) WC2b15 File Corruption (1997) WebCatalog not running after upgrade (2000) Multiple Pulldowns (1997) Database changes (1998) website pro trouble (1998) NT b19 sends extra MIME headers (1997) RE: [WebDNA] Admin Lag (2009) WebCat2 beta 11 - new prefs ... (1997)