Please, what is to correct way that the URL should look like?
I looked at the documentation, but it's unclear to me. And I cannot figure this out for hours already.
You have to pass the queries as an object in the request body
Sorry still I cannot figure this out. Please 🙏 how should I correctly fill this?
This results in this:
> GET /v1/databases/63a97cf0a759183bd1c6/collections/63a97d42d1d2518dea90/documentsHTTP/1.1 HTTP/1.1
> Host: appwrite.app.timenoder.com
> User-Agent: insomnia/2023.1.0
> Content-Type: multipart/form-data; boundary=X-INSOMNIA-BOUNDARY
> X-Appwrite-Project: 64631bad5cbf9ab42392
> Accept: */*
> Content-Length: 126
| --X-INSOMNIA-BOUNDARY
| Content-Disposition: form-data; name="queries[]"
| equal("name", ["Test2"])
| --X-INSOMNIA-BOUNDARY--
Can you try to pass it in the URL?
As such
documents?queries[]=Query.equal("name", ["Test2"])
Let me know if that works
Finally 🙏
The problem was in Insomnia (through which I am making the API calls), it does something unxespected. The solution was in using Postman.
Thank you for responding!. But close enough :).
....v1?queries[]=equal("name", [Test1])
[SOLVED] How to include queries in the basic get request?
Recommended threads
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Appwrite cloud DB server error 500
Getting this error
- appwrite indexes not working (?
i have this index: ``` "indexes": [ { "key": "single-user-per-event", "type": "unique", ...