I'm using Retrofit and am trying to send a varying number of item ids as form-encoded parameters.
i.e. the resulting parameters are:
Is there an easy method to pass an array of Strings in this way? (It strikes me as pretty bad REST design, but sadly I can't change the API.)
For example, I'd expect something like this:
@Field(PARAM_IDS) String... ids
But it doesn't seem to be supported and, digging through the source, I can't see anything obvious. Any help or pointers would be much appreciated.