apigee 安装_使用Google Cloud Apigee有效地管理您的API

apigee 安装

Developing APIs is a tough job overall, and securing these APIs is a whole other ball game in itself. Google Cloud Apigee offers an excellent API Management Console that can help you develop & test your APIs to make them robust & secure.

开发API总体而言是一项艰巨的工作,而保护这些API本身就是另外一个完整的游戏。 Google Cloud Apigee提供了出色的API管理控制台,可以帮助您开发和测试API,以使其健壮和安全。

Imagine this, you’re a developer who just created an API for all sorts of weather data. You’d like other developers to start using your API to display weather information to their users. But, you do not want to provide unrestricted access to your APIs given security concerns & heavy server loads.

想象一下,您是一位为各种天气数据创建API的开发人员。 您希望其他开发人员开始使用您的API向其用户显示天气信息。 但是,鉴于安全问题和服务器负载过大,您不想提供对API的无限制访问。

In this article, we will be leveraging the powerful toolbox offered by Google Cloud Apigee & learn how we can protect our APIs from high traffic spikes & transform an XML response from the target server into JSON.

在本文中,我们将利用Google Cloud Apigee提供的强大工具箱,并学习如何保护我们的API免受高流量高峰的影响,以及如何将XML响应从目标服务器转换为JSON。

Note: Don’t worry if you don’t have an actual API to work with, we’ll be using a dummy API for learning purposes! 😄

注意:如果您没有实际的API,请不要担心,我们将使用虚拟API进行学习! 😄

什么是Google Cloud Apigee? (What is Google Cloud Apigee?)

Google Cloud Apigee is a Cross-Cloud API Management Platform that provides a wide range of tools that allow you to secure, analyze & even monetize your APIs.

Google Cloud Apigee是一个跨云API管理平台,它提供了广泛的工具,可让您保护,分析API甚至从中获利。

Apigee can be considered as a middle-man between a consumer app (created by a developer) & your server resources. Usually, an app would directly contact your server for requesting your data, which would process the request & return the required response. But the problem with this is that your server is exposed to the consumer app and YOU would have to add-in security protocols to protect your resources.

Apigee可被视为消费类应用程序(由开发人员创建)与服务器资源之间的中间人。 通常,应用程序会直接与您的服务器联系以请求您的数据,这将处理请求并返回所需的响应。 但是,这样做的问题是您的服务器暴露于使用者应用程序,因此您必须添加安全协议来保护您的资源。

With Google Cloud Apigee, you do not have to worry about exposing your server to the outside world. Apigee acts like a proxy server that can verify an incoming request, request resources on its behalf if the request is valid & return the response to the consumer app.

使用Google Cloud Apigee,您不必担心将服务器暴露在外界。 Apigee就像代理服务器一样,可以验证传入的请求,如果请求有效,则代表其请求资源,并将响应返回给使用者应用。

了解Apigee的工作流程 (Understanding Apigee’s Workflow)

Apigee is a proxy server.

Apigee是代理服务器。

It receives a response from the consumer app, validates/transforms it if required, sends it to the target server. Then, it receives a response from the target server, manipulates/transforms it if required, and sends it back to the consumer app. This gives Apigee 4 areas to work with.

它从

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值