HTTP request using form-data

I know how to use APIs, used them a lot.

I don’t know how to put the product Array in the parameter! It’s variable, it could have 3,4,10,100 elements! How can I put that into parameteres because now I put products[0][sku],… products[1][sku]… etc.