Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

185
Vistas
How to access Google CloudML REST API from NodeJS application running in appengine

I am running my prediction running in CloudML. I want to invoke predict REST API from my NodeJS application and I want to show the prediction result in the NodeJS app running in AppEngine.

I can find the documentation to do it for Python application. But can't find it for NodeJS.

Can I use normal rest client like node-rest-client? If yes how can I pass the Google Application Default Credentials?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Yes you can use the normal node-rest-client, but since the process for Google Application Default Credentials isn't baked into that client you'll have to use https://github.com/googleapis/google-auth-library-nodejs to use Application Default Credentials.

Alternatively you can use the https://github.com/googleapis/google-api-nodejs-client which should support ADC out of the box. You can find the Cloud ML API here:

https://github.com/googleapis/google-api-nodejs-client/blob/master/src/apis/ml/v1.ts

Specifically, you're looking for the "predict" method.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda