Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use gcViewNumberOfEachMembersUnreadMessages #21

Open
molly-101 opened this issue Nov 22, 2023 · 0 comments
Open

How can I use gcViewNumberOfEachMembersUnreadMessages #21

molly-101 opened this issue Nov 22, 2023 · 0 comments

Comments

@molly-101
Copy link

Problem

When I try to send request by gcViewNumberOfEachMembersUnreadMessages
image

the target isn't what I expect one..
image
I expected {RequestURL}?user_id=user_id1,user_id2,user_id3 but result is encoded one{RequestURL}?user_ids=user_id1%2Cuser_id2%2Cuser_id3

I found encode area from ApiClient.java line 986

if (queryParams != null) {
      for (Pair queryParam : queryParams) {
        if (queryParam.getValue() != null) {
          target = target.queryParam(queryParam.getName(), escapeString(queryParam.getValue()));  // <- this point
        }
      }
    }

If I am using the API incorrectly, I appreciate guidance on how to resolve the issue. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant