I am using Phil Sturgeon’s Rest Server and Rest Client to buid codeigniter restful api. however I am encountering the following error message:
============================================= REST Test
============================================= Request
http://localhost/mb/api/data/50
Response
A PHP Error was encounteredSeverity: Notice
Message: Undefined index: base64
Filename: libraries/REST_Controller.php
Line Number: 1866
Backtrace:
File: D:\xampp\htdocs\MB\application\libraries\REST_Controller.phpLine: 1866
Function: _error_handler File: D:\xampp\htdocs\MB\application\libraries\REST_Controller.php
Line: 2005
Function: _check_login File: D:\xampp\htdocs\MB\application\libraries\REST_Controller.php
Line: 519
Function: _prepare_mb_auth File: D:\xampp\htdocs\MB\application\controllers\API.php
Line: 10
Function: __construct File: D:\xampp\htdocs\MB\index.php
Line: 292
Function: require_once
not authorized{"status":false,"error":"Not authorized"}
Call details