Implementing APIs

Policies can perform such functions as secure, throttle, and route calls between front-end clients and back-end servers. The basic implementation includes the API Request Policy and the Service Request Policy. This is the simple proxy pattern which provides an end-point for front-end clients, and routes the request to some sort of back-end service and returns the response.

You can add additional policies to an API, as necessary. Policies fall into several different categories:

  • Security: such as Key Validation

  • Traffic Management: such as Application Rate Limiting

  • Interface Management: such as Header Validation and Interface Filtering

  • Other: such as Groovy Script

To implement your API, follow these basic steps:

  1. Sign in to the Management Portal of API Platform Cloud Service.

  2. Select the API and edit it.

  3. Configure the API Request Policy.

  4. Configure the Service Request Policy.

  5. Apply other policies as necessary.

  6. Test the API with the policies.