Custom Interceptors

In addition to the default interceptors, which are ready to be used, the Manager allows the creation of custom interceptors.

This means that you can manipulate the request that gateway receives or the response sent from your backend as to better suit your needs.

Keep in mind that custom interceptors add a bit of time to call processing. It’s best to use them only when a default interceptor is not enough for the manipulation or validation you require.

The API Manager allows the creation of custom interceptors in two languages: Java and JavaScript. Both are created on the Interceptors menu page, which is depicted below.

custom interceptors

Over the following sections, you can read about how to create customs interceptors using Java and JavaScript, and about how to use them in your API flows.

Thanks for your feedback!

Share your suggestions with us!
Click here and then [+ Submit idea]