LocaleSwitchController :: switchAction
Request
GET Parameters
Key | Value |
---|---|
format | "json" |
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "sylius.controller.shop.locale_switch:switchAction" |
_route | "sylius_shop_default_locale" |
_route_params | [] |
Request Headers
Header | Value |
---|---|
host | "api.ipify.org" |
user-agent | "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0" |
x-php-ob-level | "1" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
Header | Value |
---|---|
cache-control | "no-cache, private" |
content-type | "text/html; charset=UTF-8" |
date | "Thu, 26 Dec 2024 04:19:39 GMT" |
location | "/es_CL/" |
set-cookie | "device_view=full; expires=Sun, 26-Jan-2025 04:19:39 GMT; Max-Age=2678400; path=/; httponly" |
x-debug-token | "c852f2" |
Cookies
Request Cookies
No request cookies
Response Cookies
Key | Value |
---|---|
device_view | Symfony\Component\HttpFoundation\Cookie {#4431 #name: "device_view" #value: "full" #domain: "" #expire: 1737865179 #path: "/" #secure: false #httpOnly: true -raw: false -sameSite: null -secureDefault: false } |
Session
Session Metadata
No session metadata
Session Attributes
No session attributes
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
Key | Value |
---|---|
APP_DEBUG | "1" |
APP_ENV | "dev" |
APP_SECRET | "EDITME" |
DATABASE_URL | "mysql://root@35.243.160.235:3306/tca_dev?serverVersion=5.5&password=j0sfBa7rtjuot8CO" |
EWZ_RECAPTCHA_SECRET | "" |
EWZ_RECAPTCHA_SITE_KEY | "" |
MAILER_URL | "gmail://alexis@devaid.cl:uzghvptimxhfsgba@localhost?encryption=tls&auth_mode=oauth" |
Defined as regular env variables
Key | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | "/var/www/tca/develop/current/public" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/var/www/tca/develop/current/public" |
GATEWAY_INTERFACE | "CGI/1.1" |
HTTP_HOST | "api.ipify.org" |
HTTP_USER_AGENT | "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
PHP_SELF | "/index.php" |
QUERY_STRING | "format=json" |
REMOTE_ADDR | "64.62.197.120" |
REMOTE_PORT | "14461" |
REQUEST_METHOD | "GET" |
REQUEST_SCHEME | "http" |
REQUEST_TIME | 1735186779 |
REQUEST_TIME_FLOAT | 1735186779.455 |
REQUEST_URI | "/?format=json" |
SCRIPT_FILENAME | "/var/www/tca/develop/current/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "10.142.0.4" |
SERVER_ADMIN | "webmaster@localhost" |
SERVER_NAME | "api.ipify.org" |
SERVER_PORT | "8080" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "<address>Apache/2.4.18 (Ubuntu) Server at api.ipify.org Port 8080</address>\n" |
SERVER_SOFTWARE | "Apache/2.4.18 (Ubuntu)" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_DEBUG,APP_SECRET,DATABASE_URL,MAILER_URL,EWZ_RECAPTCHA_SITE_KEY,EWZ_RECAPTCHA_SECRET" |