We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a366fb0 commit 509e3f2Copy full SHA for 509e3f2
appengine/standard/endpoints-frameworks-v2/echo/main.py
@@ -74,9 +74,11 @@ def echo_path_parameter(self, request):
74
EchoResponse,
75
path='echo/getApiKey',
76
http_method='GET',
77
- name='echo_api_key')
+ name='echo_api_key',
78
+ api_key_required=True)
79
def echo_api_key(self, request):
- return EchoResponse(content=request.get_unrecognized_field_info('key'))
80
+ key, key_type = request.get_unrecognized_field_info('key')
81
+ return EchoResponse(content=key)
82
83
@endpoints.method(
84
# This method takes an empty request body.
0 commit comments