diff --git a/_overviews/toolkit/web-server-cookies-and-decorators.md b/_overviews/toolkit/web-server-cookies-and-decorators.md index dbb68eff8..a4826095f 100644 --- a/_overviews/toolkit/web-server-cookies-and-decorators.md +++ b/_overviews/toolkit/web-server-cookies-and-decorators.md @@ -3,7 +3,7 @@ title: How to use cookies and decorators? type: section description: Using cookies and decorators with Cask num: 36 -previous-page: web-server-query-websockets +previous-page: web-server-websockets next-page: --- diff --git a/_overviews/toolkit/web-server-input.md b/_overviews/toolkit/web-server-input.md index 5d08f928c..61dd9d0f1 100644 --- a/_overviews/toolkit/web-server-input.md +++ b/_overviews/toolkit/web-server-input.md @@ -20,7 +20,7 @@ with names corresponding to names of fields in the form and set the form method object MyApp extends cask.MainRoutes { @cask.get("/form") - def getForm(): String = { + def getForm(): cask.Response = { val html = """ | @@ -51,7 +51,7 @@ object MyApp extends cask.MainRoutes { object MyApp extends cask.MainRoutes: @cask.get("/form") - def getForm(): String = + def getForm(): cask.Response = val html = """ | @@ -163,7 +163,7 @@ object MyApp extends cask.MainRoutes: {% endtab %} {% endtabs %} -In this example the JSON is merely converted to `String`, check the [*uPickle tutorial*](/toolkit/json-introduction.html) for more information +In this example the JSON is merely converted to `String`, check the [*uPickle tutorial*](/toolkit/json-intro.html) for more information on what can be done with `ujson.Value` type. Send a POST request.