I am struggling with Lists as method parameters at Google Cloud Endpoints.
The documentations says that
The supported parameter types are the foll
Please add @Nullable annotation to your method, that will turn your collection-type parameter from a path into a query parameter.
https://developers.google.com/appengine/docs/java/endpoints/annotations#nullable
A more direct way is to add a path property to the API_METHOD annotation and not include the List parameter in the path. As stated here: "If path is specified, parameters can be made query parameters by not including them in the path"
In your case it should look like:
@ApiMethod(name = "testMethod", path="testMethod" httpMethod = HttpMethod.POST)