IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Rest request with parameter in url

  • 1.  Rest request with parameter in url

    Posted Mon February 24, 2020 10:24 AM

    Hello experts,

    We have a REST API “API.customer” with the operation /V1/search exposed as REST resources.
    On 9.7 (with Centrasite / Mediator) we can call /ws/API.customer/V1/search/{id} and we can see, in the pipeline received by IS, the $resourceID equals the parameter id in the url (for exemple $resourceID=123 with request /ws/API.customer/V1/search/123).

    On 10.5 (with API Gateway) when we launch the same request, we have an error “Resource /V1/search/123” not found. 123 is not considered like a parameter.

    What can explain this behaviour?

    Regards,


    #webMethods
    #API-Gateway
    #API-Management


  • 2.  RE: Rest request with parameter in url

    Posted Mon February 24, 2020 11:19 AM

    Hi,

    When we set the value of the extended setting “strictResourceMatching” to ‘false’, parameter is correctly interpreted.

    Is it the good solution?

    Regards,


    #API-Management
    #API-Gateway
    #webMethods


  • 3.  RE: Rest request with parameter in url

    Posted Mon February 24, 2020 11:33 AM

    Yes, you can use that extended setting


    #API-Management
    #API-Gateway
    #webMethods


  • 4.  RE: Rest request with parameter in url

    Posted Thu March 05, 2020 09:04 AM


  • 5.  RE: Rest request with parameter in url

    Posted Thu March 05, 2020 11:40 PM

    On that note, this will be a global setting and not per interface/flow.


    #API-Management
    #webMethods
    #API-Gateway