Is there a way to define a generic resource path in APIs?

Product/components used and version/fix level are you on:

API Gateway

Detailed explanation of the problem:

I would like to define a generic API path that accepts all URIs. Is there a way to define a resource with resource path as a wildcard? Something like /* that will accept all URIs so that I don’t need to define individual APIs in the gateway?

Error messages / full error message screenshot / log fileL

Is your question related to the free trial, or to a production (customer) instance?

I am trying out the free trial version right now.

Have you installed all the latest fixes for the products and systems you are using?

Yes, I downloaded the 10.15 free trial docker image for our evaluation.

hi @devashi.tandon ,
Yes we can definitely relax the validation at the resource.
1.Please navigate to Administartion–> Extended settings.
2. Search for “strictResourceMatching”.
3. By default it is set to true.
4. Change the value to “false”

By making above changes you can make the resource as “/” at the API level.
Now the API will receive all kinds of request until the endpoints are valid.

Regards
Vikash Sharma

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.