top of page

Creating an API with Apigee

Apigee is an API management platform, API Manager in short, this is the process of creating and publishing web APIs, enforcing their usage policies, controlling access, nurturing the subscriber community, collecting and analyzing usage statistics, and reporting on performance.


The objective is to go through the process of creating and configuring a simple API proxy using the Apigee Edge management UI. Follow the link to find expert advice on Apigee Architecture.

Requirements

  • An Apigee Edge, API Manager, account. If you don't have one yet, you can sign up with the directions at Creating an Apigee Edge, API Manager, account.

  • cURL installed on your machine to make API calls from the command line; or a web browser.

Create the API Proxy using Apigee’s API Manager

An Apigee API Proxy often includes a transformation engines to orchestrate and modify the requests and responses on the fly. An Apigee API Proxy can also provide functionality such collecting analytics data and providing caching. An Apigee API Proxy can provide functionality to support authentication, authorization, security, audit and regulatory compliance.

1.Go to https://apigee.com/edge and log in. Apigee Edge UI, the API Manager user interface, was changed recently, you can always use the classic view.

2.Change to the organization you want. In the upper left, click your username, then click the name of the current organization to select from a list of organizations.

3.Click API Proxies in the main window to obtain a list of existing API proxies.

4. Click the add (+) API Proxy button.

5.In the Build a Proxy wizard, select Reverse proxy (most common), and click Next.

Configure the API Proxy using Apigee’s API Manager

1. You should configure the Apigee API Proxy entering the following information:

Proxy Name: HelloAPI

Proxy Base Path: /hello

The Proxy Base Path is part of the URL used to make requests to your API.

Description: HelloAPI Proxy

2. Click next

3. On the security configuration set it to PassThrough (none)

4. On Virtual Hosts page, click on next

5. On Build page, set it to test environment. Click on Build and Deploy.

6. On the summary page, you should have confirmed the creation of the Apigee API Proxy. Click on HelloAPI Apigee API Proxy, you should see the Overview Page for an Apigee API Proxy.

Test the Apigee API Proxy using Apigee and Curl

You can test your helloAPI API using cURL or a web browser.

Request

In a terminal window, run the following cURL command. You should use your organization name in the URL.

curl http://<org_name>-test.apigee.net/hello

Response

You should see the following:

{ "status": "ok" }

You can obtain the same result if you directly use:

curl http://mymock.getsandbox.com

bottom of page