================================================= NetShort API Endpoints Test Testing all methods needed for DramaApiController ================================================= Dracin
Internal Server Error

Error

Class "App\Services\NetShortService" not found

LARAVEL 12.31.1
PHP 8.3.30
UNHANDLED
CODE 0
GET
https://komikcast.xyz

Overview

DATE
2026/03/03 12:03:56.646 UTC
STATUS CODE
500
METHOD
GET

Exception trace

dev-utils/test_netshort_api_endpoints.php
dev-utils/test_netshort_api_endpoints.php:18
13echo "=================================================\n";
14echo "NetShort API Endpoints Test\n";
15echo "Testing all methods needed for DramaApiController\n";
16echo "=================================================\n\n";
17
18$service = new App\Services\NetShortService('en');
19
20// Test 1: getPopularOnline (for getPopular endpoint)
21echo "Test 1: getPopularOnline() - for Popular API\n";
22echo str_repeat('-', 50) . "\n";
23$startTime = microtime(true);
24$popular = $service->getPopularOnline(10);
25$duration1 = round((microtime(true) - $startTime) * 1000);
26
27echo "Duration: {$duration1}ms\n";
28echo "Results: " . count($popular) . "\n";
29if (!empty($popular)) {
30

Queries

// No queries executed

Headers

host
komikcast.xyz
user-agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
accept
*/*
accept-language
en-us,en;q=0.5
accept-charset
ISO-8859-1,utf-8;q=0.7,*;q=0.7
x-https
1
accept-encoding
gzip, br, zstd, deflate

Body

// No request body

Routing

// No routing context

Routing parameters

// No routing parameters