json POST $variables fix

This commit is contained in:
2025-12-02 18:58:04 +03:00
parent 584285b92c
commit 393f37577d

View File

@@ -408,9 +408,6 @@ final class request
// Exit (false) // Exit (false)
throw new exception_argument('Failed to validate JSON from the input buffer', status::unprocessable_content->value); throw new exception_argument('Failed to validate JSON from the input buffer', status::unprocessable_content->value);
} }
// Writing parameters from environment into the property
$this->parameters = $_POST ?? [];
} else if ($this->method === method::post) { } else if ($this->method === method::post) {
// POST method // POST method