https://wattson.es/api/factura Return to referer URL

ApiController :: factura

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
action
"update"
id
"114612"
values
[
  "devuelta" => "false"
]

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\ApiController::factura"
_firewall_context
"security.firewall.map.context.main"
_route
"api_factura"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"ce17ea"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"es-ES,es;q=0.9"
connection
"keep-alive"
content-length
"50"
content-type
"application/x-www-form-urlencoded; charset=UTF-8"
cookie
"app_color_scheme=magenta; PHPSESSID=rqotk84hs08cv3duhtq3s71j4e"
host
"wattson.es"
origin
"https://wattson.es"
referer
"https://wattson.es/contrato/4918/facturas"
sec-ch-ua
""Chromium";v="142", "Google Chrome";v="142", "Not_A Brand";v="99""
sec-ch-ua-mobile
"?0"
sec-ch-ua-platform
""Windows""
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"
x-php-ob-level
"1"
x-requested-with
"XMLHttpRequest"

Request Content

Raw

action=update&values%5Bdevuelta%5D=false&id=114612

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Thu, 18 Dec 2025 08:04:55 GMT"
x-debug-token
"97682b"

Cookies

Request Cookies

Key Value
PHPSESSID
"rqotk84hs08cv3duhtq3s71j4e"
app_color_scheme
"magenta"

Response Cookies

No response cookies

Session 2

Session Metadata

Key Value
Created
"Thu, 18 Dec 25 07:50:30 +0000"
Last used
"Thu, 18 Dec 25 08:04:51 +0000"
Lifetime
0

Session Attributes

Attribute Value
_csrf/https-delete4918
"_Iym3w5Hk0RHyyDtHR5rOQRAAxHUMS7bdimY-yGYKWw"
_csrf/https-delete600
"7Omwpd0wPx21dH3-f9BVDxj5feP0ZrOvlQ5xy92WpIQ"
_security.last_username
"yas"
_security_main
"O:74:"Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken":3:{i:0;N;i:1;s:4:"main";i:2;a:5:{i:0;C:15:"App\Entity\User":186:{a:4:{i:0;i:2144;i:1;s:3:"yas";i:2;s:60:"$2y$13$W39j4apnsEua1NqK.3oYxeBzAxuo0mPl4.DwtZH1ItZYG1akcL25W";i:3;a:3:{i:0;s:9:"ROLE_USER";i:1;s:15:"ROLE_SUPERADMIN";i:2;s:14:"ROLE_COMERCIAL";}}}i:1;b:1;i:2;N;i:3;a:0:{}i:4;a:3:{i:0;s:9:"ROLE_USER";i:1;s:15:"ROLE_SUPERADMIN";i:2;s:14:"ROLE_COMERCIAL";}}}"

Session Usage

2 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
  [
    "file" => "/var/www/wattson/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/security-http/Firewall/AccessListener.php"
    "line" => 87
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 49
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 26
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 70
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/security-http/Firewall.php"
    "line" => 92
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 118
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/autoload_runtime.php"
    "line" => 35
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/wattson/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\Security\Http\Firewall\ContextListener:198
[
  [
    "file" => "/var/www/wattson/vendor/symfony/security-http/Firewall/ContextListener.php"
    "line" => 198
    "function" => "set"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 118
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 184
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/vendor/autoload_runtime.php"
    "line" => 35
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/wattson/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/wattson/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_DEBUG
"1"
APP_SECRET
"6e7e386a8203fc1e22ce80ea40c07e75"
DATABASE_URL
"mysql://energaze:Qf9c7E8EewhStQfM@localhost:3306/energaze?serverVersion=5.7"
MAILER_DSN
"gmail+smtp://energaze@energaze.com:lcvjtiwcsgioacik@default"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
WKHTMLTOIMAGE_PATH
"/usr/local/bin/wkhtmltoimage"
WKHTMLTOPDF_PATH
"/usr/local/bin/wkhtmltopdf"

Defined as regular env variables

Key Value
APP_ENV
"dev"
CONTENT_LENGTH
"50"
CONTENT_TYPE
"application/x-www-form-urlencoded; charset=UTF-8"
CONTEXT_DOCUMENT_ROOT
"/var/www/wattson/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/wattson/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"es-ES,es;q=0.9"
HTTP_CONNECTION
"keep-alive"
HTTP_COOKIE
"app_color_scheme=magenta; PHPSESSID=rqotk84hs08cv3duhtq3s71j4e"
HTTP_HOST
"wattson.es"
HTTP_ORIGIN
"https://wattson.es"
HTTP_REFERER
"https://wattson.es/contrato/4918/facturas"
HTTP_SEC_CH_UA
""Chromium";v="142", "Google Chrome";v="142", "Not_A Brand";v="99""
HTTP_SEC_CH_UA_MOBILE
"?0"
HTTP_SEC_CH_UA_PLATFORM
""Windows""
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"
HTTP_X_REQUESTED_WITH
"XMLHttpRequest"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_APP_ENV
"dev"
REDIRECT_HTTPS
"on"
REDIRECT_SCRIPT_URI
"https://wattson.es/api/factura"
REDIRECT_SCRIPT_URL
"/api/factura"
REDIRECT_SSL_TLS_SNI
"wattson.es"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/factura"
REMOTE_ADDR
"113.203.148.251"
REMOTE_PORT
"57223"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1766045094
REQUEST_TIME_FLOAT
1766045094.1748
REQUEST_URI
"/api/factura"
SCRIPT_FILENAME
"/var/www/wattson/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://wattson.es/api/factura"
SCRIPT_URL
"/api/factura"
SERVER_ADDR
"145.14.157.59"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"wattson.es"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"wattson.es"
SYMFONY_DOTENV_VARS
"APP_DEBUG,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,WKHTMLTOPDF_PATH,WKHTMLTOIMAGE_PATH"