Hi Michael,
You can try below option to customize your URL.
Use this in Expression.
1)If( IsSecureConnection(), "https://", "http://" ) + GetRequestDomain() + "/"+{InputParameter1}+"/"+{InputParemeter2}
2)If( IsSecureConnection(), "https://", "http://" ) + GetRequestDomain() + GetEntryURL("ApplicationEntryName",eSpaceName:"EspaceName",FirstParameterName:"Fistname",FirstParameterValue: LocalVariable
,SecondParameterName:"Lastname",SecondParameterValue:LocalVariable)