Approaches for Developing REST Resources
Designer provides the following two different approaches for developing REST resources:
Legacy approach, in which creating a REST resource includes creating the resource folder and flow services that correspond to supported HTTP methods.
URL template-based approach, in which a URL format serves as a template for client requests to invoke a REST V2 resource.
The following sections explain the approaches in greater detail.