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:
CommandSecurity? (1997) Emailer (1997) &FieldNametype=time unnecessary? (2000) WebCat & WebTen (1997) Typhoon Rev. and PCS store problems (1999) Re:quit command on NT (1997) Listserver problem (1997) Bug? (1997) encripted storage (1998) [WebDNA] ListFiles question (2012) ShowIf variables (1997) Return as Delimeter (2000) New public beta available (1997) Credit card processing - UK (1997) Re:Using WebMerchant Only? (1998) Credit card processing - UK (1997) X etc.... (1999) ReadDateFormat (1998) Incrementing a number (1998) [WebDNA] Auto Suggest Form (2014)