I have tested this in my backend PHP API. The data that will be passed like this:
{
"driver": "Dzil",
"vehicle_number": "Jalal",
"date_unique_number": "2019-09-09",
"unique_number": "ABCDEF",
"rest_product_weighing_details": [400,401]
}
As you can see, the rest_product_weighing_detail is an array.
How to make retrofit will be handle this in post ?
Any advice it so appreciated