Ruby HTTPClient Array in Query
1 min readMay 17, 2019
If you need send array in query, like `example.com/?ids[]=1&ids[]=2`, you can do it.
parameters = {Get Сергей Блохин’s stories in your inbox
Join Medium for free to get updates from this writer.
'ids[]' => [1, 2]
}
HTTPClient.post 'https://example.com/', parameters





