+

Validate Query Parameters and Headers Using APIKit

This process assumes that you have generated flows using APIkit in Studio.

You can configure APIkit Router to validate headers and query parameters to limit both these attributes to those defined in your API specification:

  1. In your Studio canvas, select APIkit Router.

    APIkit router highlighted.
  2. Select the Edit button for your router configuration

    Edit button highlighted next to the plus button, in the APIkit router tab.
  3. Select Query parameters Strict Validations to limit query parameters to those defined in your API specification, or Headers Strict Validations to limit headers to those defined in your API specification:

    Query parameters strict validations and headers strict validations highlighted in the router configuration tab.

Disable Validation of Query Parameters and Headers

Enabling validations can affect performance and cause a delay in response time. If your use case cannot tolerate latency, consider disabling strict validations:

  1. In your Studio canvas, select APIkit Router.

    APIkit router highlighted.
  2. Select the Edit button for your router configuration

    Edit button highlighted next to the plus button, in the APIkit router tab.
  3. Select Disable Validations:

    Disable verifications option highlighted and checked in the router configuration tab.

See Also

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub