Answers for "onesignal update device api"

PHP
0

onesignal update device api

curl --include \
     --request PUT \
     --header "Content-Type: application/json" \
     --data-binary "{\"app_id\" : \"APP_ID\",
\"language\":\"es\",
\"timezone\":-28800,
\"game_version\":\"1.0\",
\"device_os\":\"7.0.4\",
\"device_type\":0,
\"device_model\":\"iPhone\",
\"tags\":{\"a\":\"1\",\"foo\":\"\"}}" \
     https://onesignal.com/api/v1/players/PLAYER_ID
Posted by: Guest on February-16-2021

Browse Popular Code Answers by Language