Closed MKGaru closed 4 years ago
Currently, sending array of object is not a json. It is sent as string in the body.(text/plain)
$http.$post('api', [data1, data2]) // invalid "[object Object],[object Object]" text-plain $http.$post('api', void 0, { json: [data1, data2] }) // OK application/json
This pull request makes it possible.
Thak you.
Thanks @MKGaru :)
Currently, sending array of object is not a json. It is sent as string in the body.(text/plain)
This pull request makes it possible.
Thak you.