http://rf5cqoxqlitdx4umuce5dgihjzabql4hs3zjkvs3em7xzjfa5yyhkeqd.onion/om/openmonero-nojs/commit/14af9bc2b0707b8498c9bb4889c256692a997571
== JSON_ERROR_NONE ) { return [ 'error' => 'Invalid JSON data' ]; } return $data ; } private function getJsonData2 ( $url , $token ) { // Create a context with the desired headers $options = [ 'http' => [ 'method' => 'GET' , // or 'POST', 'PUT', etc. depending on your needs 'header' => [ 'Content-Type: application/json' , 'Authorization: Bearer ' .