Layer7 API Management

 View Only
  • 1.  API design in Layer 7 Gateway

    Posted Jun 09, 2015 10:53 PM

    Hi,

     

    I am trying to setup a new API that will be in the following format <base URL>/apis/<email address>/service/*

     

    I was wondering if it was possible to set this up in the service property config as opposed to using regex in the filters. The filters should not be hit unless the request is valid.

     

    If the API is defined as /apis/*/service/* a user can potentially call <base URL>/apis/<email address>/<other data>/service/* and the request will still be seen as valid. i would want this request to be rejected by the gateway (due to security concerns) prior to policies processing the request.  is it possible to configure this in the service properties?


    thanks

    Dev



  • 2.  Re: API design in Layer 7 Gateway

    Broadcom Employee
    Posted Jun 12, 2015 02:02 AM

    For a URL like test@test.com/service/123" rel="nofollow" target="_blank">http://ssg82-demo.ca.com:8080/apis/test@test.com/service/123 you could use the service property URI as /apis/*@*.com/service/*

     

    Sincerely,

     

    Stephen Hughes