I am making an API request via PHP cURL.
When I run echo $response
I get the following JSON:
JSON (application/json):
{
"workers": [
{
"email": "[email protected]",
"manager": {
"email": "[email protected]"
}
},
{
"email": "[email protected]",
"manager": {
"email": "[email protected]"
}
}
]
}
I'd like to loop through the results & echo out the email and associated manager. How do I do this?