Encoding
Microlink Cards are shipped as stateful application, where the state is all time encoded in the URL.
That design decision has some tradeoff: Any modification over presets original code will be living into the URL, making it to looks very long. To avoid that, just
add your preset
.Additonally, any value in the URL should be encoded properly to be consumed by Microlink API, meaning you need to use
encodeURIComponent
or equivalent.Last, any other query parameter present into the URL that it isn't part of the query variable will be passed to Microlink API. You can see an
example
.