POST https://api.simulatorestrategico.com/notes

Dumped Contents

[]
App\Dto\NoteInputDto {#1277
  +content: "saturno è fatto di ghiaccio"
  +userId: ? int
  +questionId: 471244
}
array:5 [
  "request" => Symfony\Component\HttpFoundation\Request {#2
    +attributes: Symfony\Component\HttpFoundation\ParameterBag {#18
      #parameters: array:12 [
        "_stopwatch_token" => "dcea05"
        "_route" => "_api_/notes{._format}_post"
        "_controller" => "api_platform.symfony.main_controller"
        "_format" => null
        "_stateless" => true
        "_api_resource_class" => "App\Entity\Note"
        "_api_operation_name" => "_api_/notes{._format}_post"
        "_route_params" => array:4 [
          "_format" => null
          "_stateless" => true
          "_api_resource_class" => "App\Entity\Note"
          "_api_operation_name" => "_api_/notes{._format}_post"
        ]
        "_api_operation" => ApiPlatform\Metadata\Post {#595
          #shortName: "Note"
          #class: "App\Entity\Note"
          #description: null
          #urlGenerationStrategy: null
          #deprecationReason: null
          #normalizationContext: null
          #denormalizationContext: null
          #collectDenormalizationErrors: null
          #validationContext: null
          #filters: []
          #elasticsearch: null
          #mercure: null
          #messenger: null
          #input: array:2 [
            "class" => "App\Dto\NoteInputDto"
            "name" => "NoteInputDto"
          ]
          #output: null
          #order: null
          #fetchPartial: null
          #forceEager: null
          #paginationEnabled: null
          #paginationType: null
          #paginationItemsPerPage: 20
          #paginationMaximumItemsPerPage: 50
          #paginationPartial: null
          #paginationClientEnabled: null
          #paginationClientItemsPerPage: true
          #paginationClientPartial: null
          #paginationFetchJoinCollection: null
          #paginationUseOutputWalkers: null
          #security: "user"
          #securityMessage: null
          #securityPostDenormalize: null
          #securityPostDenormalizeMessage: null
          #securityPostValidation: null
          #securityPostValidationMessage: null
          #provider: "ApiPlatform\Doctrine\Orm\State\ItemProvider"
          #processor: "App\Processor\PostNoteProcessor"
          #stateOptions: null
          #extraProperties: array:3 [
            "standard_put" => true
            "rfc_7807_compliant_errors" => true
            "page_parameter_name" => "page"
          ]
          #paginationViaCursor: null
          #read: null
          #deserialize: null
          #validate: null
          #write: null
          #serialize: null
          #priority: 1
          #name: "_api_/notes{._format}_post"
          #method: "POST"
          #uriTemplate: "/notes{._format}"
          #types: null
          #formats: null
          #inputFormats: array:1 [
            "json" => array:1 [
              0 => "application/json"
            ]
          ]
          #outputFormats: array:1 [
            "json" => array:1 [
              0 => "application/json"
            ]
          ]
          #uriVariables: []
          #routePrefix: null
          #routeName: null
          #defaults: null
          #requirements: null
          #options: null
          #stateless: true
          #sunset: null
          #acceptPatch: "application/json"
          #status: null
          #host: null
          #schemes: null
          #condition: null
          #controller: "api_platform.symfony.main_controller"
          #cacheHeaders: array:1 [
            "vary" => array:3 [
              0 => "Content-Type"
              1 => "Authorization"
              2 => "Origin"
            ]
          ]
          #hydraContext: null
          #openapiContext: null
          #openapi: null
          #exceptionToStatus: array:1 [
            "Doctrine\DBAL\Exception\UniqueConstraintViolationException" => 409
          ]
          #queryParameterValidationEnabled: null
          #links: null
          -itemUriTemplate: null
        }
        "_firewall_context" => "security.firewall.map.context.main"
        "_security_firewall_run" => "_security_main"
        "input_format" => "json"
      ]
    }
    +request: Symfony\Component\HttpFoundation\InputBag {#12
      #parameters: []
    }
    +query: Symfony\Component\HttpFoundation\InputBag {#15
      #parameters: []
    }
    +server: Symfony\Component\HttpFoundation\ServerBag {#21
      #parameters: array:76 [
        "HOSTNAME" => "a22457d1cc79"
        "PHP_INI_DIR" => "/usr/local/etc/php"
        "SHLVL" => "2"
        "HOME" => "/home/www-data"
        "PHP_IDE_CONFIG" => ""serverName=9000ABCD_DBG""
        "PHP_LDFLAGS" => "-Wl,-O1 -pie"
        "PHP_CFLAGS" => "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
        "PHP_VERSION" => "8.3.3"
        "GPG_KEYS" => "1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA"
        "PHP_CPPFLAGS" => "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
        "PHP_ASC_URL" => "https://www.php.net/distributions/php-8.3.3.tar.xz.asc"
        "PHP_URL" => "https://www.php.net/distributions/php-8.3.3.tar.xz"
        "PATH" => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        "PHPIZE_DEPS" => "autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c"
        "PWD" => "/var/www/core"
        "PHP_SHA256" => "b0a996276fe21fe9ca8f993314c8bc02750f464c7b0343f056fb0894a8dfa9d1"
        "USER" => "www-data"
        "HTTP_ACCEPT_ENCODING" => "br, gzip, deflate"
        "HTTP_CACHE_CONTROL" => "no-cache"
        "HTTP_PRAGMA" => "no-cache"
        "HTTP_USER_AGENT" => "node"
        "HTTP_SEC_FETCH_MODE" => "cors"
        "HTTP_ACCEPT_LANGUAGE" => "*"
        "HTTP_ACCEPT" => "*/*"
        "HTTP_AUTHORIZATION" => "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Nzk1MzQ1NjIsImV4cCI6MTc4MDEzOTM2Miwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoicGFmZmlsZTQ4OEBnbWFpbC5jb20iLCJpZCI6Njc4LCJmaXJzdF9uYW1lIjoiR2lvdmFubmkiLCJsYXN0X25hbWUiOiJQYWZmaWxlIiwidGF4X2lkIjoiUEZGR05OMDJTMDhEMDg2UiIsIm1lbWJlcnNoaXAiOnsidHlwZSI6IlByb2Zlc3Npb25hbCIsImV4cGlyZXNfYXQiOiIyMDI3LTA1LTIzVDExOjA5OjIwKzAwOjAwIn19.Vf9Yc0S7KzVVn6REU7tYVIZ0LeOCc_e_10qXBNVAgRgXixNgFR3Z-MkRfwcAgkfSbg1HHROYIQUYn240f-1LMZwHJc7nZ9esgwfpecbVHDrMOY7DtJ0pHiYCNYIqe6LvB3pQT2cgdwxhvUvM22g6vfRaDed5oGI7nCT87EoHaLZ4k3YN--haRJN7ghxbb3LW_9F31M4FHo_i7tnU1B37FVntHj0wheC6ZVm_Iv_W96xlkfsCMyxFN3VoGy_dUfsTpvy_seexCcHZklZuaVvN5iUEd_nagsw36xrXl3cJAIOo2pP-ZKqXdHPZzIAGnCU8BWG8tuoMaw7ZRMv-lOqbPg"
        "HTTP_CONTENT_TYPE" => "application/json"
        "HTTP_CONTENT_LENGTH" => "63"
        "HTTP_CONNECTION" => "close"
        "HTTP_X_FORWARDED_PROTO" => "https"
        "HTTP_X_FORWARDED_FOR" => "172.19.0.2"
        "HTTP_X_REAL_IP" => "172.19.0.2"
        "HTTP_HOST" => "api.simulatorestrategico.com"
        "SCRIPT_FILENAME" => "/var/www/core/public/index.php"
        "REDIRECT_STATUS" => "200"
        "SERVER_NAME" => "9000abcd.localhost"
        "SERVER_PORT" => "80"
        "SERVER_ADDR" => "172.18.0.5"
        "REMOTE_PORT" => "57688"
        "REMOTE_ADDR" => "172.18.0.1"
        "SERVER_SOFTWARE" => "nginx/1.27.3"
        "GATEWAY_INTERFACE" => "CGI/1.1"
        "REQUEST_SCHEME" => "http"
        "SERVER_PROTOCOL" => "HTTP/1.0"
        "DOCUMENT_ROOT" => "/var/www/core/public"
        "DOCUMENT_URI" => "/index.php"
        "REQUEST_URI" => "/notes"
        "SCRIPT_NAME" => "/index.php"
        "CONTENT_LENGTH" => "63"
        "CONTENT_TYPE" => "application/json"
        "REQUEST_METHOD" => "POST"
        "QUERY_STRING" => ""
        "FCGI_ROLE" => "RESPONDER"
        "PHP_SELF" => "/index.php"
        "REQUEST_TIME_FLOAT" => 1779961592.4799
        "REQUEST_TIME" => 1779961592
        "TRUSTED_PROXIES" => "127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
        "TRUSTED_HOSTS" => "simulatorestrategico.com"
        "APP_ENV" => "dev"
        "APP_SECRET" => "!ChangeMe!"
        "DATABASE_URL" => "mysql://root:dev@mysql:3306/9000abcd?serverVersion=10.3.0-MariaDB&charset=utf8mb4"
        "CORS_ALLOW_ORIGIN" => "^https?://(localhost|127\.0\.0\.1|simulatorestrategico.com)(:[0-9]+)?$"
        "MERCURE_URL" => "http://php/.well-known/mercure"
        "MERCURE_PUBLIC_URL" => "https://localhost/.well-known/mercure"
        "MERCURE_JWT_SECRET" => "!ChangeThisMercureHubJWTSecretKey!"
        "JWT_SECRET_KEY" => "%kernel.project_dir%/config/jwt/private.pem"
        "JWT_PUBLIC_KEY" => "%kernel.project_dir%/config/jwt/public.pem"
        "JWT_PASSPHRASE" => "37249cde8e4c36a393e955cf770d5e21d7b91e591fb6b9d8280f64caf90cd006"
        "MESSENGER_TRANSPORT_DSN" => "doctrine://default?auto_setup=0"
        "REQUEST_PASSWORD_BASE_URL" => "https://simulatorestrategico.com"
        "SENDER_EMAIL" => "noreply@simulatorestrategico.com"
        "STRIPE_SECRET_KEY" => "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"
        "LOCK_DSN" => "flock"
        "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,MESSENGER_TRANSPORT_DSN,REQUEST_PASSWORD_BASE_URL,SENDER_EMAIL,STRIPE_SECRET_KEY,LOCK_DSN,STRIPE_WEBHOOK_SECRET,MAILER_DSN"
        "STRIPE_WEBHOOK_SECRET" => "whsec_973cc107d346b23b1dce9382eb1dbe043855266413d7d50113a1d163f313576c"
        "MAILER_DSN" => "smtp://noreply@simulatorestrategico.com:9000aBCD!Co@mail9.dominiofaidate.com:465"
        "APP_DEBUG" => "1"
      ]
    }
    +files: Symfony\Component\HttpFoundation\FileBag {#20
      #parameters: []
    }
    +cookies: Symfony\Component\HttpFoundation\InputBag {#19
      #parameters: []
    }
    +headers: Symfony\Component\HttpFoundation\HeaderBag {#22
      #headers: array:16 [
        "accept-encoding" => array:1 [
          0 => "br, gzip, deflate"
        ]
        "cache-control" => array:1 [
          0 => "no-cache"
        ]
        "pragma" => array:1 [
          0 => "no-cache"
        ]
        "user-agent" => array:1 [
          0 => "node"
        ]
        "sec-fetch-mode" => array:1 [
          0 => "cors"
        ]
        "accept-language" => array:1 [
          0 => "*"
        ]
        "accept" => array:1 [
          0 => "*/*"
        ]
        "authorization" => array:1 [
          0 => "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Nzk1MzQ1NjIsImV4cCI6MTc4MDEzOTM2Miwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoicGFmZmlsZTQ4OEBnbWFpbC5jb20iLCJpZCI6Njc4LCJmaXJzdF9uYW1lIjoiR2lvdmFubmkiLCJsYXN0X25hbWUiOiJQYWZmaWxlIiwidGF4X2lkIjoiUEZGR05OMDJTMDhEMDg2UiIsIm1lbWJlcnNoaXAiOnsidHlwZSI6IlByb2Zlc3Npb25hbCIsImV4cGlyZXNfYXQiOiIyMDI3LTA1LTIzVDExOjA5OjIwKzAwOjAwIn19.Vf9Yc0S7KzVVn6REU7tYVIZ0LeOCc_e_10qXBNVAgRgXixNgFR3Z-MkRfwcAgkfSbg1HHROYIQUYn240f-1LMZwHJc7nZ9esgwfpecbVHDrMOY7DtJ0pHiYCNYIqe6LvB3pQT2cgdwxhvUvM22g6vfRaDed5oGI7nCT87EoHaLZ4k3YN--haRJN7ghxbb3LW_9F31M4FHo_i7tnU1B37FVntHj0wheC6ZVm_Iv_W96xlkfsCMyxFN3VoGy_dUfsTpvy_seexCcHZklZuaVvN5iUEd_nagsw36xrXl3cJAIOo2pP-ZKqXdHPZzIAGnCU8BWG8tuoMaw7ZRMv-lOqbPg"
        ]
        "content-type" => array:1 [
          0 => "application/json"
        ]
        "content-length" => array:1 [
          0 => "63"
        ]
        "connection" => array:1 [
          0 => "close"
        ]
        "x-forwarded-proto" => array:1 [
          0 => "https"
        ]
        "x-forwarded-for" => array:1 [
          0 => "172.19.0.2"
        ]
        "x-real-ip" => array:1 [
          0 => "172.19.0.2"
        ]
        "host" => array:1 [
          0 => "api.simulatorestrategico.com"
        ]
        "x-php-ob-level" => array:1 [
          0 => "1"
        ]
      ]
      #cacheControl: array:1 [
        "no-cache" => true
      ]
    }
    #content: "{"content":"saturno è fatto di ghiaccio","question_id":471244}"
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: null
    #pathInfo: "/notes"
    #requestUri: "/notes"
    #baseUrl: ""
    #basePath: null
    #method: "POST"
    #format: "json"
    #session: null
    #locale: null
    #defaultLocale: "en"
    -preferredFormat: null
    -isHostValid: true
    -isForwardedValid: true
    -isSafeContentPreferred: ? bool
    -trustedValuesCache: array:5 [
      "2\x00172.19.0.2\x00172.18.0.1\x00" => array:1 [
        0 => "172.19.0.2"
      ]
      "4\x00\x00\x00" => []
      "32\x00\x00\x00" => []
      "8\x00https\x00\x00" => array:1 [
        0 => "https"
      ]
      "16\x00\x00\x00" => []
    ]
    -isIisRewrite: false
    basePath: ""
  }
  "uri_variables" => []
  "resource_class" => "App\Entity\Note"
  "previous_data" => null
  "data" => null
]