John P
Posts: 0
Joined: Tue Oct 14, 2014 7:51 pm

Overwrite URL for a REST service?

Is there a way to overwrite the URL of a REST service based on user-input?

I.e. I have a REST service at http://example.com/users/ .. and I want to put the user's name as the last part of the URL, but I won't know the user's name until after I've deployed the app.

Is there a way to create the service in Appery, but overwrite the URL at run-time?

I saw some forum posts about calling Javascript to get to the external URL, but that means I can't use the rest of Appery to design the app. There were some comments on other forum topics about using the Proxy ... is that an option?

Thanks for any info you can give me!

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Overwrite URL for a REST service?

Hello John,

Sure, you can change URL dynamically.

Please follow this topic: https://getsatisfaction.com/apperyio/...

Return to “Issues”