TranslationController :: translate
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _access_control_attributes | [
"PUBLIC_ACCESS"
] |
| _controller | "App\Controller\TranslationController::translate" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "app_translate" |
| _route_params | [] |
| _security_authenticators | [] |
| _security_skipped_authenticators | [ Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#537 -supports: false -passport: null -duration: null -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator" -authenticated: null -exception: null -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#480 …} } ] |
| _stopwatch_token | "493354" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, deflate, br" |
| accept-language | "en-US" |
| content-length | "788" |
| content-type | "application/json" |
| cookie | "main_deauth_profile_token=953172" |
| from | "googlebot(at)googlebot.com" |
| host | "psychofact.fr" |
| origin | "https://psychofact.fr" |
| referer | "https://psychofact.fr/scientia/article/3405" |
| user-agent | "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.8010.52 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" |
| x-forwarded-proto | "https" |
| x-php-ob-level | "1" |
Request Content
Pretty
{
"texts": [
"Thinking through uncertainty: nonconsequential reasoning and choice.",
"When thinking under uncertainty, people often do not consider appropriately each of the relevant branches of a decision tree, as required by consequentialism. As a result they sometimes violate Savage's sure-thing principle. In the Prisoner's Dilemma game, for example, many subjects compete when they know that the opponent has competed and when they know that the opponent has cooperated, but cooperate when they do not know the opponent's response. Newcomb's Problem and Wason's selection task are also interpreted as manifestations of nonconsequential decision making and reasoning. The causes and implications of such behavior, and the notion of quasi-magical thinking, are discussed."
],
"target": "FR"
}
Raw
{"texts":["Thinking through uncertainty: nonconsequential reasoning and choice.","When thinking under uncertainty, people often do not consider appropriately each of the relevant branches of a decision tree, as required by consequentialism. As a result they sometimes violate Savage's sure-thing principle. In the Prisoner's Dilemma game, for example, many subjects compete when they know that the opponent has competed and when they know that the opponent has cooperated, but cooperate when they do not know the opponent's response. Newcomb's Problem and Wason's selection task are also interpreted as manifestations of nonconsequential decision making and reasoning. The causes and implications of such behavior, and the notion of quasi-magical thinking, are discussed."],"target":"FR"}
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "application/json" |
| date | "Sat, 24 Oct 2026 05:31:28 GMT" |
| x-debug-token | "974e64" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| main_deauth_profile_token | "953172" |
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 | "" |
| APP_SHARE_DIR | "var/share" |
| CRON_SECRET | "72c89ba249ac883794a1dc77e5c275d0591eac1eff7f26bf83d53f1ca0507d2c" |
| DATABASE_URL | "mysql://1i4tgg_claudia:CLaudia@2833f8001@1i4tgg.myd.infomaniak.com:3306/1i4tgg_SCIENTIA_credolab?serverVersion=mariadb-10.6.20&charset=utf8mb4" |
| DEEPL_API_KEY | "d1e89e57-c0b5-42df-bbe4-c71dfa4e14b9:fx" |
| DEFAULT_URI | "http://localhost" |
| MAILER_DSN | "null://null" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
| MYMEMORY_EMAIL | "claudia@adfi.alsace" |
| SITE_CONFIG_ENABLED | "true" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| APP_PROJECT_DIR | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app" |
| APP_RUNTIME | "Symfony\Component\Runtime\SymfonyRuntime" |
| APP_RUNTIME_OPTIONS | [ "project_dir" => "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app" ] |
| CONTENT_LENGTH | "788" |
| CONTENT_TYPE | "application/json" |
| CONTEXT_DOCUMENT_ROOT | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app/public" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HOME | "/home/clients/3789c70e8ca3ec48721a9fda9a819104" |
| HTTPS | "on" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, deflate, br" |
| HTTP_ACCEPT_LANGUAGE | "en-US" |
| HTTP_COOKIE | "main_deauth_profile_token=953172" |
| HTTP_FROM | "googlebot(at)googlebot.com" |
| HTTP_HOST | "psychofact.fr" |
| HTTP_ORIGIN | "https://psychofact.fr" |
| HTTP_REFERER | "https://psychofact.fr/scientia/article/3405" |
| HTTP_USER_AGENT | "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.8010.52 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" |
| HTTP_X_FORWARDED_PROTO | "https" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| PHP_SELF | "/index.php" |
| PHP_VERSION | "8.4" |
| QUERY_STRING | "" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_PHP_VERSION | "8.4" |
| REDIRECT_SCRIPT_URI | "https://psychofact.fr/api/translate" |
| REDIRECT_SCRIPT_URL | "/api/translate" |
| REDIRECT_SSL_TLS_SNI | "psychofact.fr" |
| REDIRECT_STATUS | "200" |
| REDIRECT_UNIQUE_ID | "atxCr5O4Bsa-bScAAkRCUgAAAXw" |
| REDIRECT_URL | "/api/translate" |
| REMOTE_ADDR | "66.249.65.8" |
| REMOTE_PORT | "50010" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1792819887 |
| REQUEST_TIME_FLOAT | 1792819887.8522 |
| REQUEST_URI | "/api/translate" |
| SCRIPT_FILENAME | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://psychofact.fr/api/translate" |
| SCRIPT_URL | "/api/translate" |
| SERVER_ADDR | "127.0.0.80" |
| SERVER_ADMIN | "webmaster@psychofact.fr" |
| SERVER_NAME | "psychofact.fr" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "" |
| SERVER_SOFTWARE | "Apache" |
| SSL_TLS_SNI | "psychofact.fr" |
| SYMFONY_DOTENV_PATH | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app/.env" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_SHARE_DIR,SITE_CONFIG_ENABLED,CRON_SECRET,DEFAULT_URI,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,MYMEMORY_EMAIL,DEEPL_API_KEY" |
| TEMP | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/tmp" |
| TMP | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/tmp" |
| TMPDIR | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/tmp" |
| UNIQUE_ID | "atxCr5O4Bsa-bScAAkRCUgAAAXw" |
| USER | "uid380929" |