curl_setopt($ch, CURLOPT_URL, 'https://console.monogoto.io/thing/$sim/state/');
So, I am trying to get from post again $sim to show in the URL