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 | "4abe1b" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, deflate, br" |
| accept-language | "fr-fr, en-US,en;q=0.90" |
| content-length | "837" |
| content-type | "application/json" |
| cookie | "main_deauth_profile_token=775f91" |
| host | "psychofact.fr" |
| origin | "https://psychofact.fr" |
| referer | "https://psychofact.fr/scientia/article/4229" |
| sec-fetch-dest | "empty" |
| sec-fetch-mode | "cors" |
| sec-fetch-site | "same-origin" |
| user-agent | "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)" |
| x-forwarded-proto | "https" |
| x-php-ob-level | "1" |
Request Content
Pretty
{
"texts": [
"Grief education and bereavement support in Japan.",
"This paper introduces the activities of the Japanese Association for Death Education and Grief Counseling, highlighting especially its grief education and bereavement support program. Because of greater life expectancy, most women in Japan will one day experience the death of their husbands, therefore pre-widowhood education programs are offered to married women in order to prepare them for widowhood. Memorial services, Buddhist, Christian and non-religious, are offered for bereaved persons. The search for a new self-identity after bereavement, the role of volunteer work, and the search for meaning in loss and bereavement are discussed. The issues of disenfranchised grief and grief after death from overwork are important themes in grief education."
],
"target": "FR"
}
Raw
{"texts":["Grief education and bereavement support in Japan.","This paper introduces the activities of the Japanese Association for Death Education and Grief Counseling, highlighting especially its grief education and bereavement support program. Because of greater life expectancy, most women in Japan will one day experience the death of their husbands, therefore pre-widowhood education programs are offered to married women in order to prepare them for widowhood. Memorial services, Buddhist, Christian and non-religious, are offered for bereaved persons. The search for a new self-identity after bereavement, the role of volunteer work, and the search for meaning in loss and bereavement are discussed. The issues of disenfranchised grief and grief after death from overwork are important themes in grief education."],"target":"FR"}
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "application/json" |
| date | "Tue, 17 Nov 2026 21:19:01 GMT" |
| x-debug-token | "aad782" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| main_deauth_profile_token | "775f91" |
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 | "837" |
| 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 | "fr-fr, en-US,en;q=0.90" |
| HTTP_COOKIE | "main_deauth_profile_token=775f91" |
| HTTP_HOST | "psychofact.fr" |
| HTTP_ORIGIN | "https://psychofact.fr" |
| HTTP_REFERER | "https://psychofact.fr/scientia/article/4229" |
| HTTP_SEC_FETCH_DEST | "empty" |
| HTTP_SEC_FETCH_MODE | "cors" |
| HTTP_SEC_FETCH_SITE | "same-origin" |
| HTTP_USER_AGENT | "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)" |
| 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 | "avzExWsz06cUsgHpx_5c9QAAALU" |
| REDIRECT_URL | "/api/translate" |
| REMOTE_ADDR | "17.166.20.91" |
| REMOTE_PORT | "38844" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1794950341 |
| REQUEST_TIME_FLOAT | 1794950341.0497 |
| 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 | "avzExWsz06cUsgHpx_5c9QAAALU" |
| USER | "uid380929" |