Changeset 924


Ignore:
Timestamp:
05-10-10 11:18:46 (6 years ago)
Author:
tabma
Message:
  • Sandbox update to OAuth
File:
1 edited

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+"]") 
Note: See TracChangeset for help on using the changeset viewer.