Closed
Description
Issue Summary
Sendgrid API v3 Reference for categories/stats endpoints states that API call can be made to get stats for upto 10 categories.
However, it does not provide any reference for how to make that API call. I checked the code for addQueryParam here
https://github.com/sendgrid/java-http-client/blob/main/src/main/java/com/sendgrid/Request.java
which takes categories as only key-value pair. How are we supposed to pass "upto 10 categories"?
Steps to Reproduce
- Use categories/stats endpoint to get stats for 10 categories in the same API call.
Code Snippet
# paste code here
request.setMethod(Method.GET);
request.setEndpoint("categories/stats");
request.addQueryParam("categories", "qa2"); //how to pass multiple categories here
### Exception/Log
paste exception/log here
### Technical details:
* java-http-client version: Sendgrid 4.6.4
* java version: JDK 14