You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error occured when i hit the api
this is my controller :
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
use yidas\rest\Controller;
class PostApiController extends Controller
{
public function index()
{
return $this->response->json(['bar'=>'foo']);
}
}
The text was updated successfully, but these errors were encountered:
This error occured when i hit the api
this is my controller :
The text was updated successfully, but these errors were encountered: