Created
April 20, 2023 05:10
-
-
Save froggomad/ca9daf30e3596c3422df87e4ea7bbfab to your computer and use it in GitHub Desktop.
code block for test-2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.post("items") { req -> Item in | |
let item = try req.content.decode(Item.self) | |
return item | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment