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.
我应该使用gapi和JavaScript客户端库与我创建的Google Cloud Endpoint API进行交互吗?或者您可以使用Angular2中的HTTP Client / Library来执行对API的所有请求吗? API将具有授权和身份验证功能。谢谢。
1 个解决方案
#1
0
I found HTTPclient library in Angular2 more convenient and better with examples and docs.
我发现Angular2中的HTTPclient库更方便,更好用示例和文档。
#1
0
I found HTTPclient library in Angular2 more convenient and better with examples and docs.
我发现Angular2中的HTTPclient库更方便,更好用示例和文档。