How to use custom URL for a specific application

Hello!

Is there a way to implement something like this in OutSystems?

https://customdomain.com/{InputParameter1}/{InputParemeter2}

I've already tried Exposing Rest API that does a redirect I still would need to know how to customize the URL to look like the one above.

Thank you!

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)

Thanks for the tips everyone! Poonam's solution worked best for our app.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.