<?php
header('Access-Control-Allow-Origin: *');
header('Content-Type: application/json');
$id = (isset($_GET['id']))?$_GET['id']:'1';
$key = (isset($_GET['key']))?$_GET['key']:'1';
$url = 'https://manager.jmvtechnology.com/customerappplan/'.$id.'/'.$key;
$ch = curl_init($url);
$customHeaders = array(
    'token: Hjk13LHjk1lhu3i4OTUYFt4ydRdryuDtio2jpoo7fjhh89gb6fvcgjghjg67f',
);
curl_setopt($ch, CURLOPT_HTTPHEADER, $customHeaders);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
$data = json_decode($result);
echo json_encode($data, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES);
