REST Services - path vs formData

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.

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.