Checkbox
chromakode.com
Checkbox
1–6 of 6 posts
Re: Checkbox
#2[0] https://xkcd.com/2445/ [1] https://www.explainxkcd.com/wiki/index.php/2445:_Checkbox
Re: Checkbox
#3Then your morse code is "invisible" and you can put it anywhere.
Re: Checkbox
#4Re: Checkbox
#5Half-hearted REST/HATEOAS reply: this wouldn’t be a problem if you put it in a query parameter (or the body with an appropriate content type to account for URL length restrictions)
I hadn't considered using a query parameter -- that's a really interesting idea! That seems like it'd have been a more elegant solution than the special cased padding we ended up with.
Re: Checkbox
#6Half-hearted REST/HATEOAS reply: this wouldn’t be a problem if you put it in a query parameter (or the body with an appropriate content type to account for URL length restrictions)
These API URLs are completely static and side effect free. We considered using a POST body, but then would lose CDN caching, which would make a difference at xkcd's scale. We also decided that URL length restrictions would not likely matter for real world morse input. I hadn't considered using a query parameter -- that's a really interesting idea! That seems like it'd have been a more elegant solution than the specia…