Layer7 API Management

Expand all | Collapse all

Configure Quire param in Layer 7

Jump to Best Answer
  • 1.  Configure Quire param in Layer 7

    Posted 03-17-2020 08:05 AM
      |   view attached
    Below Layer7 url I exposed to a source system the append two parameter hitting through postman . PFB
    https://app-layerdev.example.com/cProfileCsk?EmailId=abc@gmail.com&EmpId=12345

    Now Have to expose it to the targer system through Route and it will be GET . Now won the configure the two query parameter EmailId & EmpID dynamically in the URL
    within the Route assertion? Please guide . I congigure like below but it's not working.
    http://siebel.ns.net:7557/siebelinfra/resources/default/cProfileImpl/cProfileSoapAdptr/$(request.http.parameter.EmailId)

    N.B.:(http://siebel.ns.net:7557/siebelinfra/resources/default/cProfileImpl/cProfileSoapAdptr) This part is fixed so no need to make it dynamic. Only the two query parameter
    EmailId & EmpId have to make dynamic. Please assist.



  • 2.  RE: Configure Quire param in Layer 7
    Best Answer

    Posted 03-17-2020 05:19 PM
    Hello,
    If you want to pass the query string from request to the backend, the url in route assertion can be,
    http://siebel.ns.net:7557/siebelinfra/resources/default/cProfileImpl/cProfileSoapAdptr${request.url.query}


    ${request.url.query}

    The query portion of the url for the http request (as in ?blah=foo)

    Regards,
    Mark