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.

 View Only
Expand all | Collapse all

REST Services - path vs formData

  • 1.  REST Services - path vs formData

    Posted Mon February 01, 2021 11:25 AM

    Some of the REST services I create default to parameters in “path” and others to “formData”. I prefer the formData but can’t figure out where in the creation or maintenance of the services I could set it.


    #MashZone-NextGen
    #webMethods
    #Service-Designer
    #Integration-Server-and-ESB


  • 2.  RE: REST Services - path vs formData

    Posted Tue February 23, 2021 02:31 AM

    All the dynamic parameters in URL template will be by default set as “path” parameters and this cannot be changed.

    But other input parameters in the service, can be set as Header, query or formdata. This setting can be done for each parameter in Rest Resource tab in Rest API descriptor. In Rest Resource tab, expand the resource ->expand the resource path->expend http operation and then select parameters. On right side panel, all parameters are list. Here source type can be changed for each parameter of the operation.


    #Service-Designer
    #webMethods
    #MashZone-NextGen
    #Integration-Server-and-ESB