Moe
Posts: 0
Joined: Thu Jul 10, 2014 9:24 pm

Modify request URL based on user input

Is there a way to use curly brackets to modify the URL of a Post Request? I would like to have the URL address change based on what a user puts in? for example if a user enters mydomain.com the URL should change from: http://api.nsvsolution.com/v1/encoder
to: http://mydomain.com/v1/encoder

Thanks

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Modify request URL based on user input

Hi Moe,

Please specify this URL in service settings:prehttp://{domain}/v1/encoder/preAnd add a request parameter 'domain'.

Any data passed to this parameter will automatically replace code{domain}/code in service URL.

Return to “Issues”