Layer7 API Management

  • 1.  Empty request.http.uri

    Posted Jul 21, 2016 05:57 AM

    In CA API Gateway 9.0, we need to use the policy "Evaluate Regular Expression" for the part of the URL resource that makes a REST request to our service. To do this, we try to obtain this information from the request.http.uri variable.

    However, request.http.uri always comes empty. Why it is empty?

    Should we get the information otherwise?

     

    Thanks in advance



  • 2.  Re: Empty request.http.uri
    Best Answer

    Posted Jul 21, 2016 08:47 AM

    We have located the error.

    The problem was not that request.http.uri, but in politics "Evaluate Regular Expression" regular expression inserted by default in the "Regular Expression" field containing %2F instead of / therefore could not properly evaluate the expression regular.