Add an array as request parameter with Retrofit 2 : <p>I'm looking for way to add an int array (e.g [0,1,3,5]) as parameter in a <strong>GET</strong> request with retrofit 2. Then, the generated url should be like this : <a href="http://server/service?array=[0,1,3,5]" rel="noreferrer">http://server/service?array=[0,1,3,5]</a></p>

<p>How to do this ?</p>
