If you have finished setting up and configuring Apigee, you're ready to create a simple API proxy.
To create a simple API proxy using the API Proxy Wizard:
- Open Apigee UI in a browser.
- Select Develop > API Proxies in the main view.
- From the Environment drop-down list, select the environment in which you want
to create a new API proxy. This section assumes the name of the environment is "test".
The Apigee UI displays a list of API proxies for that environment. If you haven't created any proxies yet, the list is empty.
- Click +Proxy in the upper right.
The API Proxy Wizard starts:
- Select Reverse proxy (most common).
The Proxy details view is displayed.
- Configure your proxy with the following settings:
- Proxy Name: Enter "myproxy". The remaining steps in this section assume that this is your proxy's ID.
- Proxy Base Path: Automatically set to "/myproxy". The Proxy Base Path is part of the URL used to make requests to your API. Apigee uses the URL to match and route incoming requests to the proper API proxy.
- (Optional) Description: Enter a description for your new API proxy, such as "Testing Apigee with a simple proxy".
- Target (Existing API): Enter "https://mocktarget.apigee.net". This defines the target URL that Apigee 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.
Your API proxy's details should look like the following:
- Click Next.
- On the Policies screen, select Pass through (none) as the security option.
- Click Next.
- On the Summary screen, click Create. (Leave the
Optional Deployment unselected.)
Apigee generates the proxy (sometimes referred to as the proxy bundle):
- Click Exit.
Apigee displays the Proxies view, which displays a list of API proxies. The new proxy should be at the top of the list, with a gray status indicator, meaning that it has not yet been deployed.
You've created a simple API proxy. Next you'll deploy it to your environment.