A question. Is there any difference that any of you know of in using %5B%5D vs [] in a URL for params?
Current: https://www.example.se?location_ids%5B%5D=123&location_ids%5B%5D=234
Vs.
Other: https://www.example.se?location_ids[]=123&location_ids[]=234
Percent-encoding is a mechanism to encode 8-bit characters that have specific meaning in the context of URLs. It is sometimes called URL encoding. The encoding consists of substitution: A ‘%’ followed by the hexadecimal representation of the ASCII value of the replace character.
Source - I have found this but it doesn’t make me understand why percent encoding is better.
location_ids=123&location_ids=234
would be a much clearer and cleaner query string. There would be no loss of information.