Now that you've created your Apigee account, you're ready to create a simple API proxy.
To create an API proxy:
- Open the Edge Management UI in a browser and log in.
- Click API Proxies in the main window:
- Click the add + Proxy button in the upper right:
Apigee walks you through the process of creating a new proxy. The first decision is the type of proxy:
Select Reverse proxy (most common), and click Next.
Apigee then displays the Details screen.
- Configure your proxy with the following settings:
- Proxy Name: Enter "getstarted". If a proxy already exists with this name, choose a different name.
Proxy Base Path: Change this to "/getstarted".
The Proxy Base Path is part of the URL used to make requests to your API. Edge uses the URL to match and route incoming requests to the proper API proxy.
Existing API: Enter "https://mocktarget.apigee.net". This defines the target URL that Apigee Edge invokes on a request to the API proxy.
The mocktarget service is hosted at Apigee and returns simple data. It requires no API key or access token.
- (Optional) Description: Enter a description for your new API proxy, such as "Getting Started proxy".
Your proxy's details should look like the following:
- Click Next.
- On the Security screen, select Pass through (none) as the
security option, and click Next:
- On the Virtual Hosts screen, accept the default selections and click
- On the Build screen, make sure the test environment is
selected next to Deploy Environments and click Build and
Apigee creates your new API proxy and deploys it to your test environment:
- Click View getstarted proxy in the editor to display the Overview page
for the API proxy:
Note that if you expand the [ + ], the UI lists both HTTP and HTTPS URLs for the test environment:
As a result, you can send requests to either, but this tutorial uses HTTPS.