assembleCustomEndpointPath
private fun assembleCustomEndpointPath(customEndpoint: String, subEndpoint: String = "", query: String = ""): String
Function 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
query
: the query to attach to the request