0
 Followers
0
 Likes

Dynamic REST Base URL using an Input Parameter

Integration
New

I did a quick search and didn't find it here, on ideias section. 

Lets say that I want to build a dynamic Base URL using an input parameter, for instance, if I have something like 

BaseURL  "/search?q={inputParameter}"

inputParameter "{y=h}&j=h" 

when I do a GET request I will end up with 

".../search?q={y%3Dh}%26j%3Dh"  but what I wanted was

".../search?q={y%3Dh}&j=h"

This happen because the inputParameter encode Special characters. So with that being said I'm not able(as far as I know) to build a dynamic Base URL in runtime.

The ideia: What about to set a new configuration(not mandatory) for each input parameter used on a REST method that make us able to create a regex to avoid the URL encode for some inputParameter value parts?


Created on 7 Jun
Comments (1)

Changed the category to Integration


views
244
Followers
0