Error 401 Unauthorized

GET https://biogroup-api.web-moshi.fr/api/laboratories

Request / Response

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_api_operation_name
"_api_/laboratories{._format}_get_collection"
_api_resource_class
"App\Entity\Laboratory"
_controller
"api_platform.symfony.main_controller"
_firewall_context
"security.firewall.map.context.api"
_format
null
_nelmio_cors_should_allow_origin
true
_route
"_api_/laboratories{._format}_get_collection"
_route_params
[
  "_stateless" => true
  "_api_resource_class" => "App\Entity\Laboratory"
  "_api_operation_name" => "_api_/laboratories{._format}_get_collection"
  "_format" => null
]
_security_authenticators
[]
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#278
    -supports: false
    -passport: null
    -duration: null
    -stub: "Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator {#255 …}
  }
]
_stateless
true
_stopwatch_token
"92c06b"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
connection
"close"
content-type
"application/ld+json"
dnt
"1"
host
"biogroup-api.web-moshi.fr"
origin
"https://biogroup-app.web-moshi.fr"
priority
"u=1, i"
referer
"https://biogroup-app.web-moshi.fr/"
sec-ch-ua
""Microsoft Edge";v="143", "Chromium";v="143", "Not A(Brand";v="24""
sec-ch-ua-mobile
"?0"
sec-ch-ua-platform
""Windows""
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-site"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"46.22.206.153"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
access-control-allow-origin
"https://biogroup-app.web-moshi.fr"
access-control-expose-headers
"link"
cache-control
"private, must-revalidate"
content-type
"application/json"
date
"Fri, 19 Dec 2025 12:29:22 GMT"
expires
"-1"
pragma
"no-cache"
www-authenticate
"Bearer"
x-debug-token
"58725a"

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_SECRET
""
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1|biogroup-app\.web-moshi\.fr|biogroup-api\.web-moshi\.fr)(:[0-9]+)?$"
DATABASE_URL
"mysql://biogroup-app:05Ve6l7a_@127.0.0.1:3306/biogroup-app?serverVersion=8.0.32&charset=utf8mb4"
JWT_PASSPHRASE
"f437326b0808e71ce63130d762579d7e886a0f6d7b2be23a0736ed0958872e53"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MERCURE_JWT_SECRET
"!ChangeThisMercureHubJWTSecretKey!"
MERCURE_PUBLIC_URL
"https://localhost/.well-known/mercure"
MERCURE_URL
"http://php/.well-known/mercure"
TRUSTED_HOSTS
"^(biogroup-api.web-moshi.fr|biogroup-app.web-moshi.fr|web-moshi.fr|localhost|php)$"
TRUSTED_PROXIES
"127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_TYPE
"application/ld+json"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/biogroup-app.web-moshi.fr/biogroup-api.web-moshi.fr/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/biogroup-app.web-moshi.fr/biogroup-api.web-moshi.fr/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/biogroup-app.web-moshi.fr"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
HTTP_CONNECTION
"close"
HTTP_DNT
"1"
HTTP_HOST
"biogroup-api.web-moshi.fr"
HTTP_ORIGIN
"https://biogroup-app.web-moshi.fr"
HTTP_PRIORITY
"u=1, i"
HTTP_REFERER
"https://biogroup-app.web-moshi.fr/"
HTTP_SEC_CH_UA
""Microsoft Edge";v="143", "Chromium";v="143", "Not A(Brand";v="24""
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-site"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"46.22.206.153"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PATH_INFO
"/api/laboratories"
PATH_TRANSLATED
"redirect:/index.php/api/laboratories/laboratories"
PHP_SELF
"/index.php/api/laboratories"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_SCRIPT_URI
"https://biogroup-api.web-moshi.fr/api/laboratories"
REDIRECT_SCRIPT_URL
"/api/laboratories"
REDIRECT_SSL_TLS_SNI
"biogroup-api.web-moshi.fr"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aUVFIksvGUft0rq-8K4nNQAAAQw"
REDIRECT_URL
"/api/laboratories"
REMOTE_ADDR
"46.22.206.153"
REMOTE_PORT
"49438"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1766147362
REQUEST_TIME_FLOAT
1766147362.693
REQUEST_URI
"/api/laboratories"
SCRIPT_FILENAME
"/var/www/vhosts/biogroup-app.web-moshi.fr/biogroup-api.web-moshi.fr/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://biogroup-api.web-moshi.fr/api/laboratories"
SCRIPT_URL
"/api/laboratories"
SERVER_ADDR
"217.160.47.127"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"biogroup-api.web-moshi.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at biogroup-api.web-moshi.fr Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"biogroup-api.web-moshi.fr"
SYMFONY_DOTENV_PATH
"/var/www/vhosts/biogroup-app.web-moshi.fr/biogroup-api.web-moshi.fr/.env"
SYMFONY_DOTENV_VARS
"TRUSTED_PROXIES,TRUSTED_HOSTS,APP_ENV,APP_SECRET,DATABASE_URL,CORS_ALLOW_ORIGIN,MERCURE_URL,MERCURE_PUBLIC_URL,MERCURE_JWT_SECRET,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE"
UNIQUE_ID
"aUVFIksvGUft0rq-8K4nNQAAAQw"
USER
"biogroup-app.web-mos_1tuvyak3yno"
proxy-nokeepalive
"1"