t2trg / t2trg-rest-iot

RESTful Design for Internet of Things Systems
3 stars 4 forks source link

Explain issue with URI query parameters #40

Open mkovatsc opened 6 years ago

mkovatsc commented 6 years ago

The URI query is just a piece of string after the question mark. There is no global specification how it should be parsed etc.

HTML defined the usage of & , which is supported by CoAP, but implementations handle it differently, for instance, when a query parameter occurs multiple times.

akeranen commented 4 years ago

For GET query filter should often rather use FETCH. In general better to use payload than query parameters. But OTOH bookmarking better with query params.