assemble
Custom
Endpoint
Path
Method to assemble the endpoint to make the request to the custom controllers
Return
an endpoint to make the request as String
Parameters
customEndpoint
The custom endpoint of the request, the main part of the complete url
subEndpoint
The sub-endpoint path of the url