POST https://www.penghongzx.com/api/watch

WatchController :: new

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\Api\WatchController::new"
_firewall_context
"security.firewall.map.context.student"
_route
"api_watch"
_route_params
[]
_security_firewall_run
"_security_student"
_stopwatch_token
"c01c3e"

Request Headers

Header Value
accept-encoding
"gzip"
authorization
"Bearer f786a07a15805461bcba243cd1a44fcd2be6b9f059d244d9b128c9b456c33c6d"
connection
"Keep-Alive"
content-length
"110"
content-type
"application/json"
host
"www.penghongzx.com"
user-agent
"Mozilla/5.0 (Linux; Android 10; FGD-AL00 Build/HUAWEIFGD-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.196 Mobile Safari/537.36 (Immersed/32.0) Html5Plus/1.0"
x-php-ob-level
"1"

Request Content

Pretty

{
    "studentId": 40,
    "videoId": 32,
    "currentTime": 79,
    "startTime": 1782209900,
    "is_completed": true,
    "platform": "uni-app"
}

Raw

{"studentId":40,"videoId":32,"currentTime":79,"startTime":1782209900,"is_completed":true,"platform":"uni-app"}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Tue, 23 Jun 2026 10:18:50 GMT"
x-debug-token
"c78cab"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 41
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/security-http/Firewall/AccessListener.php"
    "line" => 78
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 46
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 26
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 80
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/security-http/Firewall.php"
    "line" => 95
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 220
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 157
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/http-kernel/Kernel.php"
    "line" => 197
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/hl_stu/public/index.php"
    "line" => 5
    "args" => [
      "/www/wwwroot/hl_stu/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"9f4bdaddcda6384249525e09014fecf7"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://stu:fxah5JkKdzN2jmsp@127.0.0.1:3306/stu?serverVersion=8.0.45&charset=utf8mb4"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"110"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/www/wwwroot/hl_stu/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/home/www"
HTTPS
"on"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_AUTHORIZATION
"Bearer f786a07a15805461bcba243cd1a44fcd2be6b9f059d244d9b128c9b456c33c6d"
HTTP_CONNECTION
"Keep-Alive"
HTTP_CONTENT_LENGTH
"110"
HTTP_CONTENT_TYPE
"application/json"
HTTP_HOST
"www.penghongzx.com"
HTTP_USER_AGENT
"Mozilla/5.0 (Linux; Android 10; FGD-AL00 Build/HUAWEIFGD-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.196 Mobile Safari/537.36 (Immersed/32.0) Html5Plus/1.0"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"113.90.83.124"
REMOTE_PORT
"61608"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1782209930
REQUEST_TIME_FLOAT
1782209930.3607
REQUEST_URI
"/api/watch"
SCRIPT_FILENAME
"/www/wwwroot/hl_stu/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.16.0.11"
SERVER_NAME
"www.penghongzx.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.26.3"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,CORS_ALLOW_ORIGIN"
USER
"www"