Error 401 Unauthorized

GET http://vps-32bc7fac.vps.ovh.ca/api/rubrics/3

Request / Response

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_api_operation
ApiPlatform\Metadata\Get {#856
  #parameters: null
  #shortName: "Rubric"
  #class: "App\Entity\Rubric"
  #description: null
  #urlGenerationStrategy: null
  #deprecationReason: null
  #normalizationContext: [
    "groups" => [
      "rubric:read"
    ]
  ]
  #denormalizationContext: [
    "groups" => [
      "rubric:write"
    ]
  ]
  #collectDenormalizationErrors: null
  #validationContext: null
  #filters: [
    "annotated_app_entity_rubric_api_platform_doctrine_orm_filter_search_filter"
  ]
  #elasticsearch: null
  #mercure: null
  #messenger: null
  #input: null
  #output: null
  #order: null
  #fetchPartial: null
  #forceEager: null
  #paginationEnabled: null
  #paginationType: null
  #paginationItemsPerPage: null
  #paginationMaximumItemsPerPage: null
  #paginationPartial: null
  #paginationClientEnabled: true
  #paginationClientItemsPerPage: true
  #paginationClientPartial: null
  #paginationFetchJoinCollection: null
  #paginationUseOutputWalkers: null
  #security: null
  #securityMessage: null
  #securityPostDenormalize: null
  #securityPostDenormalizeMessage: null
  #securityPostValidation: null
  #securityPostValidationMessage: null
  #provider: "ApiPlatform\Doctrine\Orm\State\ItemProvider"
  #processor: "api_platform.doctrine.orm.state.persist_processor"
  #stateOptions: ApiPlatform\Doctrine\Orm\State\Options {#854 …}
  #queryParameterValidationEnabled: null
  #extraProperties: [
    "generated_operation" => true
  ]
  #paginationViaCursor: null
  #read: null
  #deserialize: null
  #validate: null
  #write: null
  #serialize: null
  #priority: null
  #name: "_api_/rubrics/{id}{._format}_get"
  #method: "GET"
  #uriTemplate: "/rubrics/{id}{._format}"
  #types: null
  #formats: null
  #inputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "jsonapi" => [
      "application/vnd.api+json"
    ]
    "json" => [
      "application/json"
    ]
    "xml" => [
      "application/xml"
      "text/xml"
    ]
    "yaml" => [
      "application/x-yaml"
    ]
    "csv" => [
      "text/csv"
    ]
    "html" => [
      "text/html"
    ]
    "multipart" => [
      "multipart/form-data"
    ]
  ]
  #outputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "jsonapi" => [
      "application/vnd.api+json"
    ]
    "json" => [
      "application/json"
    ]
    "xml" => [
      "application/xml"
      "text/xml"
    ]
    "yaml" => [
      "application/x-yaml"
    ]
    "csv" => [
      "text/csv"
    ]
    "html" => [
      "text/html"
    ]
    "multipart" => [
      "multipart/form-data"
    ]
  ]
  #uriVariables: [
    "id" => ApiPlatform\Metadata\Link {#852
      #key: null
      #schema: null
      #openApi: null
      #provider: null
      #filter: null
      #property: null
      #description: null
      #required: null
      #priority: null
      #hydra: null
      #constraints: null
      #security: null
      #securityMessage: null
      #extraProperties: []
      -parameterName: "id"
      -fromProperty: null
      -toProperty: null
      -fromClass: "App\Entity\Rubric"
      -toClass: null
      -identifiers: [
        "id"
      ]
      -compositeIdentifier: null
      -expandedValue: null
      -securityObjectName: null
    }
  ]
  #routePrefix: null
  #routeName: null
  #defaults: null
  #requirements: null
  #options: null
  #stateless: true
  #sunset: null
  #acceptPatch: "application/merge-patch+json, application/vnd.api+json"
  #status: null
  #host: null
  #schemes: null
  #condition: null
  #controller: null
  #headers: null
  #cacheHeaders: [
    "max_age" => 0
    "shared_max_age" => 3600
    "vary" => [
      "Content-Type"
      "Authorization"
      "Origin"
    ]
  ]
  #hydraContext: null
  #openapiContext: null
  #openapi: null
  #exceptionToStatus: null
  #links: null
  #errors: null
}
_api_operation_name
"_api_/rubrics/{id}{._format}_get"
_api_resource_class
"App\Entity\Rubric"
_controller
"api_platform.action.placeholder"
_firewall_context
"security.firewall.map.context.main"
_format
null
_route
"_api_/rubrics/{id}{._format}_get"
_route_params
[
  "_format" => null
  "_stateless" => true
  "_api_resource_class" => "App\Entity\Rubric"
  "_api_operation_name" => "_api_/rubrics/{id}{._format}_get"
  "id" => "3"
]
_stateless
true
_stopwatch_token
"b965f9"
id
"3"
input_format
null

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
connection
"upgrade"
host
"vps-32bc7fac.vps.ovh.ca"
referer
"http://vps-32bc7fac.vps.ovh.ca/api/rubrics/3"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
x-php-ob-level
"1"

Request Content

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

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Thu, 14 Nov 2024 07:04:36 GMT"
www-authenticate
"Bearer"
x-debug-token
"fd6a78"

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, br, zstd, deflate"
HTTP_CONNECTION
"upgrade"
HTTP_HOST
"vps-32bc7fac.vps.ovh.ca"
HTTP_REFERER
"http://vps-32bc7fac.vps.ovh.ca/api/rubrics/3"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
PATH_INFO
"/api/rubrics/3"
PHP_SELF
"/index.php/api/rubrics/3"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"34226"
REQUEST_METHOD
"GET"
REQUEST_TIME
1731567876
REQUEST_TIME_FLOAT
1731567876.482
REQUEST_URI
"/api/rubrics/3"
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"