POST https://api-car.demo-projects.ifbegin.com/api/v1/token/refresh?localeLang=ar

Request / Response

Request

GET Parameters

Key Value
localeLang
"ar"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_firewall_context
"security.firewall.map.context.api"
_nelmio_cors_should_allow_origin
true
_route
"api_refresh_token"
_route_params
[]
_stopwatch_token
"4de226"

Request Headers

Header Value
accept
"application/json, text/plain, */*"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3"
connection
"close"
content-length
"148"
content-type
"application/json"
host
"api-car.demo-projects.ifbegin.com"
origin
"https://frontend-car.demo-projects.ifbegin.com"
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-site"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"
x-forwarded-for
"41.230.187.178"
x-forwarded-host
"api-car.demo-projects.ifbegin.com"
x-php-ob-level
"1"
x-real-ip
"41.230.187.178"

Request Content

Pretty

{
    "refresh_token": "933bdf158c27cb2245ba603ce93e03a141606e61e9e2d2fab4e6b977d7e68f0e45c65ab6463f3651e71cfc9aa61cbc8e5b63109cf2846eec7476e9afe839c698"
}

Raw

{"refresh_token":"933bdf158c27cb2245ba603ce93e03a141606e61e9e2d2fab4e6b977d7e68f0e45c65ab6463f3651e71cfc9aa61cbc8e5b63109cf2846eec7476e9afe839c698"}

Response

Response Headers

Header Value
access-control-allow-credentials
"true"
access-control-allow-origin
"https://frontend-car.demo-projects.ifbegin.com"
access-control-expose-headers
"link"
cache-control
"private, must-revalidate"
content-type
"application/json"
date
"Mon, 04 Aug 2025 09:14:36 GMT"
expires
"-1"
pragma
"no-cache"
x-debug-token
"48fd8b"

Cookies

Request Cookies

No request cookies

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_FRONTEND_URL
"https://frontend-car.demo-projects.ifbegin.com"
APP_MAILER_FROM_EMAIL
"chatgpt.developer53@gmail.com"
APP_MAILER_FROM_NAME
"Oman Car"
APP_SECRET
"2181a72db44d5edbe031028912d84ffd"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?\$"
DATABASE_URL
"mysql://apicaromanuser:8V1YUoYTswp70Zf07bV3@127.0.0.1:3306/apicaromandb?serverVersion=8.0"
JWT_PASSPHRASE
"32ae4b860e3643fdba1d485b882b5ee7"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"smtp://chatgpt.developer53@gmail.com:wprumgnhlisqmobb@smtp.gmail.com:587?encryption=tls"
OMAN_CAR_HOST
"https://api-car.demo-projects.ifbegin.com"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"148"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/home/ifbegin-api-car/htdocs/api-car.demo-projects.ifbegin.com/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GEOIP_CITY
""
GEOIP_CITY_CONTINENT_CODE
"AF"
GEOIP_CITY_COUNTRY_CODE
"TN"
GEOIP_CITY_COUNTRY_CODE3
"TUN"
GEOIP_CITY_COUNTRY_NAME
"Tunisia"
GEOIP_COUNTRY_CODE
"TN"
GEOIP_COUNTRY_CODE3
"TUN"
GEOIP_COUNTRY_NAME
"Tunisia"
GEOIP_LATITUDE
"34.0000"
GEOIP_LONGITUDE
"9.0000"
GEOIP_POSTAL_CODE
""
GEOIP_REGION
""
HOME
"/home/ifbegin-api-car"
HTTPS
"on"
HTTP_ACCEPT
"application/json, text/plain, */*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3"
HTTP_CONNECTION
"close"
HTTP_CONTENT_LENGTH
"148"
HTTP_CONTENT_TYPE
"application/json"
HTTP_HOST
"api-car.demo-projects.ifbegin.com"
HTTP_ORIGIN
"https://frontend-car.demo-projects.ifbegin.com"
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-site"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"
HTTP_X_FORWARDED_FOR
"41.230.187.178"
HTTP_X_FORWARDED_HOST
"api-car.demo-projects.ifbegin.com"
HTTP_X_REAL_IP
"41.230.187.178"
MGT
"1"
PHP_SELF
"/index.php"
PHP_VALUE
"""
\n
error_log=/home/ifbegin-api-car/logs/php/error.log;\n
memory_limit=1G;\n
max_execution_time=1800;\n
max_input_time=1800;\n
max_input_vars=20000;\n
post_max_size=256M;\n
upload_max_filesize=256M;\n
date.timezone=UTC;\n
display_errors=off;
"""
QUERY_STRING
"localeLang=ar"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"41.230.187.178"
REMOTE_PORT
""
REQUEST_METHOD
"POST"
REQUEST_TIME
1754298875
REQUEST_TIME_FLOAT
1754298875.7273
REQUEST_URI
"/api/v1/token/refresh?localeLang=ar"
SCRIPT_FILENAME
"/home/ifbegin-api-car/htdocs/api-car.demo-projects.ifbegin.com/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"api-car.demo-projects.ifbegin.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SOFTWARE
"nginx/1.21.4"
SYMFONY_DOTENV_PATH
"/home/ifbegin-api-car/htdocs/api-car.demo-projects.ifbegin.com/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,CORS_ALLOW_ORIGIN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,OMAN_CAR_HOST,APP_FRONTEND_URL,APP_MAILER_FROM_EMAIL,APP_MAILER_FROM_NAME,MAILER_DSN"
USER
"ifbegin-api-car"