Update app user data


#1

Hi,
I am trying to update user on us-try.count.ly using postman. Here is my url & data and error:

It is a Web application.

Sample data:
https://us-try.count.ly/i/app_users/update?api_key=xyz&app_id=123&update={"did":"jp1","screen":"2500x1400"}&query=/app_users123/filter/{"did":"jp1"}

Error: Could not parse parameter "query"
Can you help me with this?

Thanks in advance


#2

Hello,
query should just be json encoded string as mongodb quey, without the path you have there, so:

https://us-try.count.ly/i/app_users/update?api_key=xyz&app_id=123&update={"did":"jp1","screen":"2500x1400"}&query={"did":"jp1"}

should work :slight_smile: