top | item 34321785

(no title)

Altho00 | 3 years ago

What is the point of the encoding ? Is it obfuscation for the common user ? What's wrong with http:// url.com/api/?interval=week&periodicity=1... since the encoded version is not shorter.

discuss

order

ninjanomnom|3 years ago

Encoding isn't usually to obscure but to allow using characters not allowed in a URL or wherever text is being stored. This makes it a bit easier to directly take that encoded text later and decode it into something like json.

Altho00|3 years ago

That makes sense, thank you

deelly|3 years ago

> What is the point of the encoding ?

Absence of special characters. No need to escape symbols like {}:/\?& etc, etc.

rocho|3 years ago

They have a nested structure, it's a pain to encode that in query parameters.