Php – Why getContent() and request->get doesn't give same result when using POST with symfony 7?
I'm trying to get POST content in php side (using PHP 8.3, Symfony 7.1) Here is an example backend: #[Route("test")] public function testing(Request $request) { $_POST = json_decode($request->getContent(), true); if(isset($_POST["line"])) { // FIRST METHOD // try when using JS query…