Forum Discussion
Anonymous
6 years agoNot applicable
Do not escape comma in query parameter using Web.Contents
I need to preserve a comma in a query string value passed to Web.Contents but have been unable to do so successfully. There's two different instances of using commas in the code below - origins and ...
BIBB
2 years agoAdvocate I
Apparently, there is no solution, it seems this is an issue/bug/feature of the library Microsoft uses. By forcing character scaping.
"By default, the library (sic) class un-escapes percent encoded path delimiters"
powerbi - Web.Contents + Uri.EscapeDatastring = PARSER ERROR. PQ converts "%2F" to "/" but shouldn't - Stack Overflow
<add> Element for schemeSettings (Uri Settings) - .NET Framework | Microsoft Learn
Your might want to check with your API provider to accept escaped characters.