- base64_encode: documentation ( source)
- json_encode: documentation ( source)
<?php
$appId = 'GopopupAppId';
$nodeId = 'ABC';
$popupId = 'popup-id';
$params = base64_encode(json_encode([
"Id" => $popupId,
]));
$url = "https://apps-service-dev.bravostudio.app/devices/apps/$appId/node/$nodeId?params=$params";
echo $url;