I am sending an API call to GWN API network/create endpoint and my payload is an array as below;
$body_data = array(
'networkName' => 'BBC_55
'country' => 'US',
'timezone' => 'America/New_York',
'networkAdministrators' => array(
'12345',
'13456'
),
'cloneNetworkId' => 02345
);
When I echo $body_data the output is;
{“networkName”:“BBC_55”,“country”:“US”,“timezone”:“America\/New_York”,“networkAdministrators”:[“12345”,“13456”],“cloneNetworkId”:02345}
I need the timezone to be “America/New_York” NOT “America\/New_York” as is outputted.
How do I do that?