How to set a custom header in Google Cloud Endpoints Javascript Client?
问题 I can fetch a list of blog posts from Google Cloud Endpoints using the Javascript Client: gapi.client.blog.posts.list().execute(function (resp) { console.log(resp); }); But I need to set a custom header value in the Google Cloud Endpoints request that contains a user token (this could be an access token from Facebook). How can I do that using the Javascript Client from Google? I could solve this by not using the Javascript Client from Google, but I would rather use it. https://developers