Question
Computershare
US
Last activity: 10 Oct 2023 5:35 EDT
Dynanically generate the query string for a connect-rest rule.
We recently upgraded from 7.x to 8.x and are having issue with one of our connect rest rules. We have a bunch of different datapages that use the same connect rest rule but with different path and different sets of parameters for the querystring. Thus we are using the Request Data Transform in the rule to set the resource path to also include the querystring parameter and in 7.x we were able to send that directly to the connect rest rule with no problem. However with the changes to 8.x connect rest rule, now each parameter must be declared, which would cause us to have to write a separate connect rule for each datapage. We tried to continue using our methodology but now the IIS server we are contacting is giving us the following error: Server Error in '*************' Application. A potentially dangerous Request.Path value was detected from the client (?). Has anyone found a way around this?