I'm trying to compare email and password, however, it's not working...
as below, only 1 query parameter works. https://cloud.appwrite.io/v1/users?queries[]=equal("email", "example@email.com")&queries[]=equal("password", "password")
Am I doing something wrong?
Summary
The user is having trouble attaching multiple query strings in a REST API call. They are trying to compare email and password, but only one query parameter is working. The user is looking for clarification on whether they are doing something wrong. The solution suggested is to follow the example provided in the create email session API, where the hash is obtained and compared. It is also mentioned that querying on password won't work because it is a hashed data, not a simple string. No specific solution is provided for attaching multiple query strings.
Waldemar
Rank 2: Process
Sep 28, 2023, 01:28
[REST] attach multiple query strings dont working ...
Drake
Admin
Sep 28, 2023, 01:53
That won't work because password is a hashed data and not a simple string