URL: Ranges in Query Strings
2017-03-06 02:53:00
2017-03-06 02:44:12
Autor: Sony Santos
https://gigawiki.com/sony/url-ranges-in-query-strings
Permalink: https://gigawiki.com/4433
categ = solution; language = English
/bids?start=2017-01-01&end=2017-01-31

/products?value=100-300
Can be too:
value=-100   (0-100)
value=100-   (>=100)

But this would force another syntax with dates:
A. date=2017.01.01-2017.01.31
B. date=2017-01-01~2017-01-31

I guess I prefer B, so the values examples would be:
value=100~300
value=~100     (0-100) (great because doesn't confuse with negative numbers!)
value=100~     (>=100)

Yes!!! Chosen!
blog comments powered by Disqus
Login:
Senha:
Para logar, você precisa ter o Javascript habilitado.