I need to send a JSON array with multiple objects and various properties to the API. For example, a JSON representing a clinic. The clinic has data such as name, ID, and address, as well as arrays of employees and clients. Within these arrays, each employee has properties like name, ID, and address.
{
"_id": "rcvyb4y25bf7",
"name": "Clinic Life",
"address": "Brazil",
"employees": [
{
"_id": "89p4iu3jge1l",
"name": "John",
"address": "Brazil"
}
],
"clients": [
{
"_id": "unm160j698h3",
"name": "Paul",
"address": "Brazil"
}
]
}