1

Objective-C clients that are generated with ServiceGenerator from Google Cloud Endpoints include a field APIKey in GTLService.h:

// Some services require a developer key for quotas and limits.  Setting this
// will include it on all request sent to this service via a GTLQuery class.

@property (nonatomic, copy) NSString *APIKey;

How can I obtain access to the passed value in my server code (Java plus Endpoint Annotations)?

Drux
  • 11,992
  • 13
  • 66
  • 116

1 Answers1

-1

Maybe this one helps you: Getting raw HTTP Data (Headers, Cookies, etc) in Google Cloud Endpoints

And if you want to add some kind of security to your endpoints:

Google Cloud Endpoints and user's authentication

Community
  • 1
  • 1