How to post a list in post request flutter with http like this parameter "test_id[]"?
'patient_age': patientAge!, 'test_date': testdate!, "test_id[]": testIDs[0].toString(), The api i got takes "test_id[]" repeatedly for list of test ids in body and in postman the api testing is working fine. But when I try this test_id[] in body it shows map…