Search code examples
angulartypescriptgoogle-cloud-endpointsgoogle-api-js-client

Best way to access Google Cloud Endpoint APIs from Angular2 typescript app?


Should I be using gapi and the JavaScript Client Library to interact with the Google Cloud Endpoint APIs I create? Or can you use the HTTP Client/Library in Angular2 to do all your requests to the API? The APIs will have authorization and authenticating features. Thanks.


Solution

  • I found HTTPclient library in Angular2 more convenient and better with examples and docs.