Re: [WebDNA] Re: API Integration

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104326
interpreted = N
texte = --000e0cd1e2b459d441047ca3c30f Content-Type: text/plain; charset=UTF-8 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 --000e0cd1e2b459d441047ca3c30f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable David,

Looking at this page:

= =C2=A0=C2=A0 =C2=A0http://code.google.com/apis/accounts/docs/AuthSub.html
=

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 you

2. Random 64bit Number
This is a number with = 20 digits, you should be able to cobble one together with [cart] and countc= hars etc.

3. SHA-1 encoded signature
This may be a problem - Donovan showed how to generate an MD5 hash using We= bDNA =C2=A0[encrypt method=3DAPOP] =C2=A0- but I haven't been able to s= uccessfully generate a SHA-1 hash using WebDNA and/or a shell script
<= div>

- Tom







--000e0cd1e2b459d441047ca3c30f-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] API Integration (David Bastedo 2010)
  2. Re: [WebDNA] API Integration (Donovan Brooke 2010)
  3. Re: [WebDNA] API Integration (Govinda 2010)
  4. Re: [WebDNA] API Integration (Stuart Tremain 2010)
  5. Re: [WebDNA] API Integration (Dan Strong 2010)
  6. RE: [WebDNA] API Integration ("Olin Lagon" 2010)
  7. Re: [WebDNA] API Integration (Govinda 2010)
  8. [WebDNA] API Integration (David Bastedo 2010)
--000e0cd1e2b459d441047ca3c30f Content-Type: text/plain; charset=UTF-8 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 --000e0cd1e2b459d441047ca3c30f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable David,

Looking at this page:

= =C2=A0=C2=A0 =C2=A0http://code.google.com/apis/accounts/docs/AuthSub.html
=

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 you

2. Random 64bit Number
This is a number with = 20 digits, you should be able to cobble one together with [cart] and countc= hars etc.

3. SHA-1 encoded signature
This may be a problem - Donovan showed how to generate an MD5 hash using We= bDNA =C2=A0[encrypt method=3DAPOP] =C2=A0- but I haven't been able to s= uccessfully generate a SHA-1 hash using WebDNA and/or a shell script
<= div>

- Tom







--000e0cd1e2b459d441047ca3c30f-- Tom Duke

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:

Need help... (1997) OT Flash Stores (2003) calculating tax rates, mail order solutions and version 2 (1997) WebDNA 6 (2004) Problems reading files created by WC (1997) Another question (1997) [Webcat 2]Next (1997) Re:no [search] with NT (1997) Location of Webcat site in folder hierarchy (1997) WebCat2b12 - New features for 1.6 users ... (1997) New random discoveries? (2005) Sorting by date (1997) How does 4DWebSTAR V's cache work? (2002) Database Field Additions (2000) Advanced WebCat Guidelines - do they exist beyond docs (1999) Location of Browser Info.txt file (1997) [ShowIf] and empty fields (1997) LetterRip and WebCat & more (1998) TCPConnect/TCPSend/FTP syntax (2000) emailer settings and control questions (1997)