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. $ Ajax ({cache: false, url: Do 'https://www.googleapis.com/mapsengine/v1/assets/0773289246413284785416071188762309719429', type: 'GET', async: false, success: function (result) {console.log (result);}}};

but it does not work, and an error:

  https://www.googleapis.com / mapsengine / v1 / assets / 07732892464132847854 -16071188762309719429? _ a = 1406257065386 401 (unauthorized)   

it is unauthorized I've tried to test gET assets using asset ID Google , When I execute. It says:

  for this method Certified must be required to activate the toggle up to authorize your request using OAuth 2.0.   

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.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -