https://api.tgn.no/v1/postcomment

ApiController :: postcomment

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
character
"2"
comment
"galopperte like etter start, ny galopp i køen siste bortre"
commoncode
"BJ"
date
"2025-08-12"
raceno
"8"
startno
"12"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\ApiController::postcomment"
_firewall_context
"security.firewall.map.context.main"
_route
"api_postcomment"
_route_params
[]

Request Headers

Header Value
authorization
"Basic c3RhbGxza3Jpa2V0Ojd2UXRHcTVWSHdyNg=="
content-length
"135"
content-type
"application/x-www-form-urlencoded"
host
"api.tgn.no"
php-auth-pw
"******"
php-auth-user
"stallskriket"
user-agent
"GuzzleHttp/6.3.3 curl/7.64.0 PHP/7.1.33"
x-php-ob-level
"1"

Request Content

Raw

startno=12&comment=galopperte+like+etter+start%2C+ny+galopp+i+k%C3%B8en+siste+bortre&character=2&commoncode=BJ&date=2025-08-12&raceno=8

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Tue, 12 Aug 2025 22:04:24 GMT"
x-debug-token
"129843"

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:43
[
  [
    "file" => "/var/www/html/api/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 43
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/security-http/Firewall/AccessListener.php"
    "line" => 69
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 49
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 26
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 59
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/security-http/Firewall.php"
    "line" => 86
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 117
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 151
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 133
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 79
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/vendor/symfony/http-kernel/Kernel.php"
    "line" => 195
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/api/public/index.php"
    "line" => 20
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"7bec5b830401706f1bfb9544718ec82c"
DATABASE_URL
"mysql://root:Xinetrlz2019!@localhost:3306/tgn"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"135"
CONTENT_TYPE
"application/x-www-form-urlencoded"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/api/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/html/api/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_AUTHORIZATION
"Basic c3RhbGxza3Jpa2V0Ojd2UXRHcTVWSHdyNg=="
HTTP_HOST
"api.tgn.no"
HTTP_USER_AGENT
"GuzzleHttp/6.3.3 curl/7.64.0 PHP/7.1.33"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PHP_AUTH_PW
"******"
PHP_AUTH_USER
"stallskriket"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
"Basic c3RhbGxza3Jpa2V0Ojd2UXRHcTVWSHdyNg=="
REDIRECT_SSL_TLS_SNI
"api.tgn.no"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aJu6Z8SXI3wlAxNjcmGZyAAAAA0"
REDIRECT_URL
"/v1/postcomment"
REMOTE_ADDR
"54.228.109.61"
REMOTE_PORT
"49005"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1755036263
REQUEST_TIME_FLOAT
1755036263.8
REQUEST_URI
"/v1/postcomment"
SCRIPT_FILENAME
"/var/www/html/api/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"192.168.55.155"
SERVER_ADMIN
"tore@raaness.no"
SERVER_NAME
"api.tgn.no"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.38 (codeit) OpenSSL/1.1.1a mod_fcgid/2.3.9 PHP/7.3.3"
SSL_TLS_SNI
"api.tgn.no"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL"
UNIQUE_ID
"aJu6Z8SXI3wlAxNjcmGZyAAAAA0"