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
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...
- Does 1.9.0 Self Hosted have MongoDB Atla...
I have been playing with the new 1.9.0 update and I am really excited for the MongoDB support. I wanted to ask though if at the current time Appwrite supports b...