raizel0609Original post
@everyone
Any example of using queries in the context of REST API?
Here's an example:
https://appwrite.server/v1/databases/DB_ID/collections/COL_ID/documents?queries=["equal(\\\"customerId\\\", \"CUSTOMER_ID\")"]
Whatever format I tried, I keep getting response:
{
"message": "Invalid queries: Value must a valid array and Value must be a valid string and no longer than 4096 chars",
"code": 400,
"type": "general_argument_invalid",
"version": "1.2.1"
}
Summary
The user is having trouble using queries in a REST API. They tried different formats but keep getting an error message stating that the queries are invalid. They provided an example of their code.