Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gkepka committed Aug 26, 2024
1 parent a837327 commit 7d388d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _overviews/toolkit/web-server-cookies-and-decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
---

Expand Down
6 changes: 3 additions & 3 deletions _overviews/toolkit/web-server-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
"""<!doctype html>
|<html>
Expand Down Expand Up @@ -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 =
"""<!doctype html>
|<html>
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 7d388d5

Please sign in to comment.