Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

doc update

  • Loading branch information...
commit 457d94123394dc0b4dd58ceb78dd43a272a68075 1 parent 592c765
Claes Wikstrom authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 doc/yaws.tex
8 doc/yaws.tex
View
@@ -738,11 +738,11 @@ \subsection{Queries}
In \Erlang\ terminology, the call \verb+yaws_api:parse_query(Arg)+ returns
the list:
\begin{verbatim}
-[{kalle, "duck"}, {goofy, "unknown"}]
+[{"kalle", "duck"}, {"goofy", "unknown"}]
\end{verbatim}
-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
\begin{verbatim}
-[{xyz, "Hello there"}]
+[{"xyz", "Hello there"}]
\end{verbatim}
The differences between using the query part of the URL
Please sign in to comment.
Something went wrong with that request. Please try again.