diff options
Diffstat (limited to 'example/formJsonPost')
-rw-r--r-- | example/formJsonPost/app/src/FormJsonPost.scala | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/example/formJsonPost/app/src/FormJsonPost.scala b/example/formJsonPost/app/src/FormJsonPost.scala index 6dc82d3..b994ac1 100644 --- a/example/formJsonPost/app/src/FormJsonPost.scala +++ b/example/formJsonPost/app/src/FormJsonPost.scala @@ -1,10 +1,7 @@ package app - -import java.io.ByteArrayInputStream - object FormJsonPost extends cask.MainRoutes{ @cask.postJson("/json") - def jsonEndpoint(value1: ujson.Js.Value, value2: Seq[Int]) = { + def jsonEndpoint(value1: ujson.Value, value2: Seq[Int]) = { "OK " + value1 + " " + value2 } |