Array in post data via http

How can I pass my array in post request using ruby ? My array contains 1000 integer values which needs to be passed to a controller function. Need help to do this using http post request.

Hi Prashant Thakur

How can I pass my array in post request using ruby ? My array contains 1000 integer values which needs to be passed to a controller function. Need help to do this using http post request.

    I think better is to keep it in session and after use destroy that session

Sijo