Browse files

doc update

  • Loading branch information...
1 parent 592c765 commit 457d94123394dc0b4dd58ceb78dd43a272a68075 @klacke committed May 2, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 doc/yaws.tex
8 doc/yaws.tex
@@ -738,11 +738,11 @@ \subsection{Queries}
In \Erlang\ terminology, the call \verb+yaws_api:parse_query(Arg)+ returns
the list:
-[{kalle, "duck"}, {goofy, "unknown"}]
+[{"kalle", "duck"}, {"goofy", "unknown"}]
-Note that the first element is transformed into an atom, whereas the
-value is still a string. Hence, a web page can contain URLs with a
+Both the key and the value are strings.
+Hence, a web page can contain URLs with a
query and thus pass data to the web server. This scheme works both
with \verb+GET+ and \verb+POST+ requests. It is the easiest way to
pass data to the Web server since no form is required in the web page.
@@ -791,7 +791,7 @@ \subsection{Forms}
The user will see the output
-[{xyz, "Hello there"}]
+[{"xyz", "Hello there"}]
The differences between using the query part of the URL

0 comments on commit 457d941

Please sign in to comment.