Skip to content
No description or website provided.
PHP
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md
sendRequest.php

README.md

GoogleApiProxy

var proxy = 'https://im007boy.com/sendRequest.php';
var oauthToken = gapi.auth.getToken();
return $.ajax({
    url: proxy,
    type: 'POST',
    data: JSON.stringify({
        "Method":"GET",
        "absoluteURI":uri,
        //"absoluteURI":"https://picasaweb.google.com/data/feed/api/user/default/albumid/{albmId}",
        "headers":{
            "GData-Version": "2",
            "Authorization": 'Bearer ' + oauthToken.access_token
        }
    })
});
Something went wrong with that request. Please try again.