OPTIONS http://vps-32bc7fac.vps.ovh.ca/api/check-essay

Request / Response

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_stopwatch_token
"df8064"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"en,en-US;q=0.9,fr-FR;q=0.8,fr;q=0.7"
access-control-request-headers
"authorization,content-type"
access-control-request-method
"POST"
connection
"upgrade"
host
"vps-32bc7fac.vps.ovh.ca"
origin
"https://remedia-alpha.vercel.app"
referer
"https://remedia-alpha.vercel.app/"
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"cross-site"
user-agent
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
x-php-ob-level
"1"

Request Content

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

Response

Response Headers

Header Value
access-control-allow-headers
"content-type, authorization"
access-control-allow-methods
"GET, OPTIONS, POST, PUT, PATCH, DELETE"
access-control-allow-origin
"https://remedia-alpha.vercel.app"
access-control-max-age
"3600"
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sun, 10 Nov 2024 20:38:27 GMT"
vary
"Origin"
x-debug-token
"5a1d3a"

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
"a3abe0e0a06ede88e8efe74d9e23a71f"
CORS_ALLOW_ORIGIN
"https://remedia-alpha.vercel.app"
DATABASE_URL
"mysql://remedia:api@127.0.0.1:3306/api?serverVersion=8.0.37&charset=utf8mb4"
FRONT_URL
"https://remedia-alpha.vercel.app/"
GOOGLE_CLIENT_ID
"764269088007-msiddi644iddgjvgmcn8sdu49id08l8f.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET
"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"
GOOGLE_REDIRECT_URI
"https://vps-32bc7fac.vps.ovh.ca/google/callback"
JWT_PASSPHRASE
"al3avc6lmaoi7gbvqrajerl1"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"brevo+smtp://79d52b001@smtp-brevo.com:xsmtpsib-76e5592e6c6c7e78f84f6d78fdb7df3e97a82ee610240c537db895933faf0ba1-AwgLIPY3xzVGNS1J@smtp-relay.brevo.com:587"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
OPENAI_API_KEY
"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"
OPENAI_API_MODEL
"gpt-4o"
ORIGIN
"https://vps-32bc7fac.vps.ovh.ca"
SENTRY_DSN
"https://764d9224687dd03d70e4d83b9331b904@o4507603376799744.ingest.us.sentry.io/4507782259146752"
WKHTMLTOIMAGE_PATH
"/usr/local/bin/wkhtmltoimage"
WKHTMLTOPDF_PATH
"/usr/local/bin/wkhtmltopdf"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
DOCUMENT_ROOT
"/home/ubuntu/remedia-back/public"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"en,en-US;q=0.9,fr-FR;q=0.8,fr;q=0.7"
HTTP_ACCESS_CONTROL_REQUEST_HEADERS
"authorization,content-type"
HTTP_ACCESS_CONTROL_REQUEST_METHOD
"POST"
HTTP_CONNECTION
"upgrade"
HTTP_HOST
"vps-32bc7fac.vps.ovh.ca"
HTTP_ORIGIN
"https://remedia-alpha.vercel.app"
HTTP_REFERER
"https://remedia-alpha.vercel.app/"
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"cross-site"
HTTP_USER_AGENT
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
PATH_INFO
"/api/check-essay"
PHP_SELF
"/index.php/api/check-essay"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"54254"
REQUEST_METHOD
"OPTIONS"
REQUEST_TIME
1731271107
REQUEST_TIME_FLOAT
1731271107.2473
REQUEST_URI
"/api/check-essay"
SCRIPT_FILENAME
"/home/ubuntu/remedia-back/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_NAME
"localhost"
SERVER_PORT
"8000"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"PHP 8.1.2-1ubuntu2.18 Development Server"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,JWT_PASSPHRASE,CORS_ALLOW_ORIGIN,OPENAI_API_KEY,OPENAI_API_MODEL,FRONT_URL,MAILER_DSN,ORIGIN,SENTRY_DSN,MESSENGER_TRANSPORT_DSN,WKHTMLTOPDF_PATH,WKHTMLTOIMAGE_PATH,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,GOOGLE_REDIRECT_URI,JWT_SECRET_KEY,JWT_PUBLIC_KEY"