Hello everyone. Welcome to Apigee 4-minute videos for developers, part of programming of API series. In this video, we’re going to talk about API proxy in Apigee Edge. I’m Anil Sagar. I work at Google on Apigee platform. Prerequisites for this video: You need an Apigee Edge account, which is free. Register at apigee.com/edge. In this video, we’re going to see how API proxy works in Apigee Edge, create a simple API proxy to an existing API, and do API management like simple API transformation in Apigee Edge. API proxy in Apigee Edge. Let’s see how it works. Let’s say you have a backend which is exposing data through services like simple REST APIs or even legacy APIs which will be consumed by an app The app makes a simple request to the backend and gets back the response. But to do API management, you need an API layer which you can leverage for API management functionality. That’s exactly where Apigee Edge fits in. So you’re able to do API management in Apigee Edge without even changing your legacy services or backend systems which are built over time. Your client sends a request to Apigee Edge, where you can do API management on Apigee Edge, and Apigee sends the same request to the client and then gets back the response. And again, you’re able to do API management in the response flow and send back the response to the client. So you can do all those things seamlessly, because Apigee Edge sits between the client and the backend. You can do all API management functionality in Apigee Edge. In this video, we’re going to see a simple API transformation from JSON to XML, and then send back the response to the client. Let’s get started. You need an Apigee Edge account. Once you are logged in, your Apigee Edge dashboard looks similar to this. To create an API proxy, click on Develop, then click on API Proxies. Once you are in this screen, click on +Proxy to create a new proxy. We’re going to use a simple backend, mocktarget.apigee.net/json, which sends a simple JSON response back to the client: firstName, lastName, city, and state. We’re going to create a proxy for this target backend. So this is our target API. Click on API Proxy. You’ll see an API proxy wizard. We’re going to use the Reverse Proxy type. So I’m going to enter 4MV4DProxy and use Existing API URL as mocktarget.apigee.net/json. Click on Next, select the security as Pass through, and choose the default to create an API proxy. There you go. We have just created an Apigee API proxy in Apigee Edge platform. Let’s make a call to the API proxy to access the target system. As you can see, when I made a call to apigee4mv4d-test.apigee.net/4mv4dproxy, you see the same JSON response as the target API. Let’s use Trace to see everything in action. As we’ve seen in an earlier slide, the client makes a call to Apigee, Apigee makes a call to the target system, the target sends the response back to Apigee, and Apigee sends the response back to the client. You have access to the full request and response, where you can do do API management. Let’s let’s do a simple API transformation like JSON to XML. I have added a simple JSON-to-XML policy to the response flow and saved the API proxy. If I make the same API call now, I will see an XML response instead of a JSON response, as you can see. So you’re able to do all the API management in Apigee Edge. Hope you enjoyed this video. If you have any questions, please feel free to post your questions on community.apigee.com. Keep watching this please, and subscribe for more videos. Thank you.