The following does not work
$device = $api->devices->getOne('device_id');
I'm getting the following msg when the above is run:
Client error: GET https://onesignal.com/api/v1/players/ resulted in a 400 Bad Request response: {"errors":["app_id not found. You may be missing a Content-Type: application/json header."]}
The following does not work $device = $api->devices->getOne('device_id');
I'm getting the following msg when the above is run:
Client error:
GET https://onesignal.com/api/v1/players/
resulted in a400 Bad Request
response: {"errors":["app_id not found. You may be missing a Content-Type: application/json header."]}