[fix] Allow arrays to be send as request body.

I assumed that the `Array.isArray` check was used to ensure that we are not sending
the uri arguments to the server. Checking if they equeal the uri should solve this.