Oauth 2.0 : Accessing asset in google map engine -
I tried to use an Ajax GET method to use a property - a Google Maps Engine asset that I Created, gave an asset ID. but it does not work, and an error: it is unauthorized I've tried to test gET assets using asset ID Google , When I execute. It says: I can test the gate asset am going Oath by providing. but I can do this in your application? how do I provide Oath 2.0 certification so I can use the property? Thank you! What you need OAuth2 authorization O. First you have to get a tissue token and then put it in your retry. I think the guide is detailed and has sample code, just follow it. $ Ajax ({cache: false, url: Do 'https://www.googleapis.com/mapsengine/v1/assets/0773289246413284785416071188762309719429', type: 'GET', async: false, success: function (result) {console.log (result);}}};
for this method Certified must be required to activate the toggle up to authorize your request using OAuth 2.0.
Comments
Post a Comment