We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78fb53b commit bcfd754Copy full SHA for bcfd754
1 file changed
user_guide_src/source/tutorial/create_news_items.rst
@@ -90,7 +90,8 @@ Most helper functions require the helper to be loaded before use.
90
Next, we check if we deal with the **POST** request with the
91
:doc:`IncomingRequest <../incoming/incomingrequest>` object ``$this->request``.
92
It is set in the controller by the framework.
93
-If the HTTP method is not POST, that is it is GET,
+The :ref:`IncomingRequest::is() <incomingrequest-is>` method checks the type of the request.
94
+If the request is not a POST request, that is it is a GET request,
95
the form is loaded and returned to display.
96
97
Then, we get the necessary items from the POST data by the user and set them in the ``$post`` variable.
0 commit comments