my question is how to handle special characters in URL using the SQ Web API?
My concrete issue is that I like to use the Web API to set the parameter for java:S1451 (Track lack of copyright and license headers). The problem is that one of the values is a regular expression with special characters. How do I have to encode them in the URL?
POST api/qualityprofiles/activate_rule
{ "rule":"java:S1451", "isRegularExpression":true, "headerFormat":"//\s*<copyright> XXX" }
POST api/qualityprofiles/activate_rule?rule=java:S1451¶ms=???