i
i am not complaining about it's not working i fixed it. devapi is not mentioned in routes.php so thats why it is not working earlier but now its working
edit these at /public_html/app/Config/Routes.php
$routes->group('devapi', function($routes) {
// Route for creating movies
$routes->get('movie/create', 'DevAPI\Movie::create');
// Route for getting movie details
$routes->get('movie/get', 'DevAPI\Movie::get');
// Route for creating TV shows
$routes->get('series/create', 'DevAPI\Series::create');
$routes->get('series/get', 'DevAPI\Series::get');
// Route for adding links to movies or episodes
$routes->get('links/add', 'DevAPI\Links::add');
$routes->get('links/get', 'DevAPI\Links::get');
});
create movie
https://moviemates.cloud/devapi/movie/create?apikey=your_apikey&imdb=tt26655108
get movie
https://moviemates.cloud/devapi/movie/get?apikey=your_apikey&imdb=tt26655108
create series
https://moviemates.cloud/devapi/series/create?apikey=your_apikey&imdb=tt26655108&sea=1&epi=2
add links
https://moviemates.cloud/devapi/links/add?apikey=your_apikey&imdb=tt26655108&links=link1,link2&type=stream