Changeset 924

Show
Ignore:
Timestamp:
05-10-10 11:18:46 (4 years ago)
Author:
tabma
Message:

- Sandbox update to OAuth

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/SandboxController.groovy

    r923 r924  
    5555        def oauth = {             
    5656            def secret = session.oauthToken.secret 
    57             def response = oauthService.accessResource(url: 'http://www.myexperiment.org/whoami.xml', 'myExperiment', 
     57            def response = oauthService.accessResource('http://www.myexperiment.org/whoami.xml', 'myExperiment', 
    5858                           [key: session.oauthToken.key, secret: session.oauthToken.secret], 'GET') 
    5959            render ("Calling whoami from myExperiment [key:" + key + ", secret:"+secret+"]")