Working with forms example

This commit is contained in:
Roberto Abdelkader Martínez Pérez committed 2019-11-19 12:45:17 +01:00
1 parent 0397ad647f
commit 0e9bf9ff54
1 file changed
+15
+15
View File
@@ -0,0 +1,15 @@
Working with Forms
==================
When a browser submits a form to a server all the values included in the
form are sent to the server in an HTTP call.
Kapow! handles the form decoding for you, the only thing you need to
know is which *field* or *fields* of the form you want.
In this example we respond back with the content of the form field `myfield`:
.. code-block:: bash
kapow get /request/form/myfield | kapow set /response/body