We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf53f0f commit 5991fa2Copy full SHA for 5991fa2
1 file changed
user_guide_src/source/incoming/incomingrequest.rst
@@ -40,7 +40,7 @@ be checked with the ``isAJAX()`` and ``isCLI()`` methods:
40
which in some cases is not sent by default in XHR requests via JavaScript (i.e., fetch).
41
See the :doc:`AJAX Requests </general/ajax>` section on how to avoid this problem.
42
43
-You can check the HTTP method that this request represents with the ``method()`` method:
+You can check the HTTP method that this request represents with the ``getMethod()`` method:
44
45
.. literalinclude:: incomingrequest/005.php
46
0 commit comments