Opiniones sobre Desarrollo de aplicaciones: Cómo implementar una API para la aplicación Quiz: Node.js

12821 opiniones

Please check the output of the cloud shell and compare it with the lab guide provided. Something is not correct, I have attempted this lab twice and getting the same error in the same part of the lab. ], "responses": { "200": { "description": "OK" } }, "security": [], "parameters": [ { "in": "path", "name": "quizName", "description": "The name of the quiz", "required": true, "type": "string" } ] } } } } Swagger JSON File successfully generated in : ./quiz-api.json student_03_b89588804eaa@cloudshell:~/cloudendpoints/start/endpoint (qwiklabs-gcp-03-ae9d951a2150)$ gcloud endpoints services deploy quiz-api.json Waiting for async operation operations/services.quiz-api.endpoints.qwiklabs-gcp-03-ae9d951a2150.cloud.goog-0 to complete... ERROR: (gcloud.endpoints.services.deploy) INVALID_ARGUMENT: Cannot convert to service config. 'location: "unknown location" kind: ERROR message: "http: In path template \'/api/quizzes//{quiz_name}\': unrecognized input at \'{\'." location: "quiz-api.json: Operation \'get\' in path \'//{quizName}\'" message: "Operation does not require an API key; callers may invoke the method without specifying an associated API-consuming project. To enable API key all the SecurityRequirement Objects (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#security-requirement-object) inside security definition must reference at least one SecurityDefinition of type : \'apiKey\'." ' ], "responses": { "200": { "description": "OK" } }, "security": [], "parameters": [ { "in": "path", "name": "quizName", "description": "The name of the quiz", "required": true, "type": "string" } ] } } } } Swagger JSON File successfully generated in : ./quiz-api.json student_02_eecddb6bc6ed@cloudshell:~/cloudendpoints/start/endpoint (qwiklabs-gcp-02-98032251c900)$ gcloud endpoints services deploy quiz-api.json Waiting for async operation operations/services.quiz-api.endpoints.qwiklabs-gcp-02-98032251c900.cloud.goog-0 to complete... ERROR: (gcloud.endpoints.services.deploy) INVALID_ARGUMENT: Cannot convert to service config. 'location: "unknown location" kind: ERROR message: "http: In path template \'/api/quizzes//{quiz_name}\': unrecognized input at \'{\'." location: "quiz-api.json: Operation \'get\' in path \'//{quizName}\'" message: "Operation does not require an API key; callers may invoke the method without specifying an associated API-consuming project. To enable API key all the SecurityRequirement Objects (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#security-requirement-object) inside security definition must reference at least one SecurityDefinition of type : \'apiKey\'." ' student_02_eecddb6bc6ed@cloudshell:~/cloudendpoints/start/endpoint (qwiklabs-gcp-02-98032251c900)$ gcloud endpoints configs list --service="quiz-api.endpoints.$GOOGLE_CLOUD_PROJECT.cloud.goog" Listed 0 items. student_02_eecddb6bc6ed@cloudshell:~/cloudendpoints/start/endpoint (qwiklabs-gcp-02-98032251c900)$ This is another attempt but still getting the same error.

Qasem A. · Se revisó hace alrededor de 5 años

Krzysztof K. · Se revisó hace alrededor de 5 años

Nina S. · Se revisó hace alrededor de 5 años

Nina S. · Se revisó hace alrededor de 5 años

Suganya M. · Se revisó hace alrededor de 5 años

Hussein S. · Se revisó hace alrededor de 5 años

Suganya M. · Se revisó hace alrededor de 5 años

cloud shell not working

Suganya M. · Se revisó hace alrededor de 5 años

Bruno S. · Se revisó hace alrededor de 5 años

Nina S. · Se revisó hace alrededor de 5 años

Arthur Y. · Se revisó hace alrededor de 5 años

Arthur Y. · Se revisó hace alrededor de 5 años

Timir K. · Se revisó hace alrededor de 5 años

Ambinintsoa Jocelyn R. · Se revisó hace alrededor de 5 años

Jacek P. · Se revisó hace alrededor de 5 años

Good

Ayush S. · Se revisó hace alrededor de 5 años

Ling C. · Se revisó hace alrededor de 5 años

Abhimanyu S. · Se revisó hace alrededor de 5 años

Gaurav A. · Se revisó hace alrededor de 5 años

Mark P. · Se revisó hace alrededor de 5 años

Ajayan N. · Se revisó hace alrededor de 5 años

Arvapalli R. · Se revisó hace alrededor de 5 años

Daniel K. · Se revisó hace alrededor de 5 años

Przemyslaw N. · Se revisó hace alrededor de 5 años

Bartosz K. · Se revisó hace alrededor de 5 años

No garantizamos que las opiniones publicadas provengan de consumidores que hayan comprado o utilizado los productos. Google no verifica las opiniones.