CountryController :: indexAction
Request
GET Parameters
Key | Value |
---|---|
locale | "en" |
value | "American Samoa" |
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_access_control_attributes | null |
_controller | "App\Controller\Website\CountryController::indexAction" |
_firewall_context | "security.firewall.map.context.website" |
_format | "json" |
_fos_rest_zone | false |
_route | "app.countries.app_website_country_index" |
_route_params | [ "_format" => "json" ] |
_stopwatch_token | "090c9f" |
_sulu | Sulu\Component\Webspace\Analyzer\Attributes\RequestAttributes {#1418 -attributes: [ "requestUri" => "/api/countries?value=American+Samoa&locale=en" "portalInformation" => Sulu\Component\Webspace\PortalInformation {#1973 -type: 2 -webspace: Sulu\Component\Webspace\Webspace {#1898 -name: "Modern Expo" -key: "modernexpo" -localizations: [ Sulu\Component\Localization\Localization {#1901 …} Sulu\Component\Localization\Localization {#1903 -language: "ua" -country: "" -shadow: "" -children: null -parent: null -default: false -xDefault: "" } Sulu\Component\Localization\Localization {#1905 -language: "pl" -country: "" -shadow: "" -children: null -parent: null -default: false -xDefault: "" } Sulu\Component\Localization\Localization {#1907 -language: "de" -country: "" -shadow: "" -children: null -parent: null -default: false -xDefault: "" } Sulu\Component\Localization\Localization {#1909 -language: "fr" -country: "" -shadow: "" -children: null -parent: null -default: false -xDefault: "" } ] -defaultLocalization: Sulu\Component\Localization\Localization {#1901 …} -xDefaultLocalization: null -segments: [] -defaultSegment: null -theme: null -portals: [ Sulu\Component\Webspace\Portal {#1922 -name: "modernexpo.com" -key: "modernexpo" -localizations: [ Sulu\Component\Localization\Localization {#1923 -language: "en" -country: "" -shadow: null -children: null -parent: null -default: "1" -xDefault: "" } Sulu\Component\Localization\Localization {#1927 -language: "ua" -country: "" -shadow: null -children: null -parent: null -default: "" -xDefault: "" } Sulu\Component\Localization\Localization {#1929 -language: "pl" -country: "" -shadow: null -children: null -parent: null -default: "" -xDefault: "" } Sulu\Component\Localization\Localization {#1931 -language: "de" -country: "" -shadow: null -children: null -parent: null -default: "" -xDefault: "" } Sulu\Component\Localization\Localization {#1933 -language: "fr" -country: "" -shadow: null -children: null -parent: null -default: "" -xDefault: "" } ] -defaultLocalization: Sulu\Component\Localization\Localization {#1923} -xDefaultLocalization: Sulu\Component\Localization\Localization {#1923} -environments: [ "prod" => Sulu\Component\Webspace\Environment {#1935 -type: "prod" -urls: [ Sulu\Component\Webspace\Url {#1936 …} ] -customUrls: [ Sulu\Component\Webspace\CustomUrl {#1937 -url: "*.*/*" } ] -mainUrl: Sulu\Component\Webspace\Url {#1936 …} } "stage" => Sulu\Component\Webspace\Environment {#1938 -type: "stage" -urls: [ Sulu\Component\Webspace\Url {#1939 …} ] -customUrls: [ Sulu\Component\Webspace\CustomUrl {#1940 -url: "*.*/*" } ] -mainUrl: Sulu\Component\Webspace\Url {#1939 …} } "test" => Sulu\Component\Webspace\Environment {#1941 -type: "test" -urls: [ Sulu\Component\Webspace\Url {#1942 …} ] -customUrls: [ Sulu\Component\Webspace\CustomUrl {#1943 -url: "*.*/*" } ] -mainUrl: Sulu\Component\Webspace\Url {#1942 …} } "dev" => Sulu\Component\Webspace\Environment {#1944 -type: "dev" -urls: [ Sulu\Component\Webspace\Url {#1945 …} ] -customUrls: [ Sulu\Component\Webspace\CustomUrl {#1946 -url: "*.*/*" } ] -mainUrl: Sulu\Component\Webspace\Url {#1945 …} } ] -webspace: Sulu\Component\Webspace\Webspace {#1898} } ] -security: Sulu\Component\Webspace\Security {#1899 …} -navigation: Sulu\Component\Webspace\Navigation {#1911 …} -templates: [ "search" => "search/search" "error" => "error/error" ] -defaultTemplates: [ "page" => "default" "home" => "homepage" ] -excludedTemplates: [] -resourceLocatorStrategy: "tree_leaf_edit" } -portal: Sulu\Component\Webspace\Portal {#1922} -localization: null -segment: null -url: "dev.modern-expo.eu" -redirect: "dev.modern-expo.eu/{localization}" -main: false -urlExpression: "dev.modern-expo.eu/{localization}" -priority: 4 } "matchType" => 2 "redirect" => "dev.modern-expo.eu/{localization}" "portalUrl" => "dev.modern-expo.eu" "webspace" => Sulu\Component\Webspace\Webspace {#1898} "portal" => Sulu\Component\Webspace\Portal {#1922} "localization" => Sulu\Component\Localization\Localization {#1923} "locale" => "en" "urlExpression" => "dev.modern-expo.eu/{localization}" "resourceLocator" => "/api/countries" "dateTime" => DateTime @1728225597 {#1568 : 2024-10-06 14:39:57.171261 UTC (+00:00) } "host" => "dev.modern-expo.eu" "port" => 443 "path" => "/api/countries" "scheme" => "https" ] } |
Request Headers
Header | Value |
---|---|
accept | "application/json, text/plain, */*" |
accept-encoding | "gzip, deflate, br, zstd" |
accept-language | "uk,ru;q=0.9,en-US;q=0.8,en;q=0.7,uk-UA;q=0.6" |
connection | "upgrade" |
content-length | "" |
content-type | "" |
cookie | "cookies_policy=NECESSARY,PREFERENCE,MARKETING" |
host | "dev.modern-expo.eu" |
referer | "https://dev.modern-expo.eu/en/contact" |
sec-ch-ua | ""Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" |
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/129.0.0.0 Safari/537.36" |
x-forwarded-for | "160.238.124.164" |
x-php-ob-level | "1" |
x-real-ip | "160.238.124.164" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
Header | Value |
---|---|
cache-control | "no-cache, private" |
content-type | "application/json" |
date | "Sun, 06 Oct 2024 14:39:57 GMT" |
x-cache-debug | 1 |
x-debug-token | "9d1f48" |
x-generator | "Sulu/2.4.0" |
Cookies
Request Cookies
Key | Value |
---|---|
cookies_policy | "NECESSARY,PREFERENCE,MARKETING" |
Response Cookies
No response cookies
Session
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
0
Usages
Stateless check enabled
Session not used.
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
Key | Value |
---|---|
APP_ENV | "dev" |
APP_SECRET | "48d6f9de0600caafb9167322e828fd34" |
DATABASE_URL | "mysql://user:password@localhost:3306/dbprod?serverVersion=8.0.29" |
GOOGLE_API_KEY | "AIzaSyCCDqn3Ku_G-qf9BOx_GP-3B1NSD_yOF0I" |
GOOGLE_CLIENT_ID | "987479365583-cl4uvjd7rikao32fiabro5a8u9jl1utl.apps.googleusercontent.com" |
GOOGLE_CLIENT_SECRET | "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" |
GOOGLE_ID | "987479365583-cl4uvjd7rikao32fiabro5a8u9jl1utl.apps.googleusercontent.com" |
GOOGLE_SECRET | "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" |
LOCK_DSN | "semaphore" |
MAILER_DELIVERY_ADDRESS | "o.kostuik+tm@adeil.com" |
MAILER_DSN | "smtp://0d99bb6c3df7ab:a8037a07937a5a@smtp.mailtrap.io:2525?encryption=tls&auth_mode=login" |
MAILER_SENDER_ADDRESS | "modernexpo@test.com" |
S3_BUCKET | "sulu" |
S3_ENDPOINT | "" |
S3_KEY | "dummy_key" |
S3_REGION | "eu-west-1" |
S3_SECRET | "dummy_secret" |
SULU_ADMIN_EMAIL | "" |
modern_user_role | "modern_user" |
new_user_role | "website_user" |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
CONTENT_LENGTH | "" |
CONTENT_TYPE | "" |
DOCUMENT_ROOT | "/var/www/modern-expo.com/public" |
DOCUMENT_URI | "/index.php" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HOME | "/var/www" |
HTTPS | "on" |
HTTP_ACCEPT | "application/json, text/plain, */*" |
HTTP_ACCEPT_ENCODING | "gzip, deflate, br, zstd" |
HTTP_ACCEPT_LANGUAGE | "uk,ru;q=0.9,en-US;q=0.8,en;q=0.7,uk-UA;q=0.6" |
HTTP_CONNECTION | "upgrade" |
HTTP_COOKIE | "cookies_policy=NECESSARY,PREFERENCE,MARKETING" |
HTTP_HOST | "dev.modern-expo.eu" |
HTTP_REFERER | "https://dev.modern-expo.eu/en/contact" |
HTTP_SEC_CH_UA | ""Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" |
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/129.0.0.0 Safari/537.36" |
HTTP_X_FORWARDED_FOR | "160.238.124.164" |
HTTP_X_REAL_IP | "160.238.124.164" |
PHP_SELF | "/index.php" |
QUERY_STRING | "value=American+Samoa&locale=en" |
REDIRECT_STATUS | "200" |
REMOTE_ADDR | "172.20.200.23" |
REMOTE_PORT | "60124" |
REQUEST_METHOD | "GET" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1728225597 |
REQUEST_TIME_FLOAT | 1728225597.1536 |
REQUEST_URI | "/api/countries?value=American+Samoa&locale=en" |
SCRIPT_FILENAME | "/var/www/modern-expo.com/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "172.20.200.115" |
SERVER_NAME | "dev.modern-expo.eu" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SOFTWARE | "nginx/1.18.0" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,MAILER_DSN,MAILER_DELIVERY_ADDRESS,MAILER_SENDER_ADDRESS,DATABASE_URL,SULU_ADMIN_EMAIL,LOCK_DSN,S3_ENDPOINT,S3_KEY,S3_SECRET,S3_BUCKET,S3_REGION,GOOGLE_ID,GOOGLE_SECRET,new_user_role,modern_user_role,GOOGLE_API_KEY,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET" |
USER | "www-data" |