So in this case, your API must accept array of employee records in request instead of single employee record. For this you need to make the changes in the API.
Or you can call the API in a loop, but it will not be much efficient and not a good idea from performance point of view.
Right now, API end point is createEmployee, so seems its prepared to accept only single employee record.
Regards