You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the Mongo REST API allows querying collections via GET /coll?filter={...}&sort={...}&keys&hint={...} specifying query parameters using query parameters.
Allow to pass the same parameters via headers as well.
Rationale
This feature increases the security (because headers are encrypted) and simplify handling special chars (chars that need to url encoded).
Example
GET /coll/filter={"_id": {"$regex": { "^.*<variable>" }}
If <variable> = " or <variable> = \ or <variable> = + the request fails. The variable must be encoded or quoted. This makes complex building dynamically queries.
Detailed documentation
TBD
The text was updated successfully, but these errors were encountered:
Brief overview
the Mongo REST API allows querying collections via
GET /coll?filter={...}&sort={...}&keys&hint={...}
specifying query parameters using query parameters.Allow to pass the same parameters via headers as well.
Rationale
This feature increases the security (because headers are encrypted) and simplify handling special chars (chars that need to url encoded).
Example
GET /coll/filter={"_id": {"$regex": { "^.*<variable>" }}
If
<variable> = "
or<variable> = \
or<variable> = +
the request fails. The variable must be encoded or quoted. This makes complex building dynamically queries.Detailed documentation
TBD
The text was updated successfully, but these errors were encountered: