return application/json content-type for post api

This commit is contained in:
aglkm
2024-07-10 18:47:43 +03:00
parent ac27c5a064
commit 3e9648bf9c
4 changed files with 21 additions and 21 deletions

View File

@@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rocket = "0.5.0"
rocket = {version = "0.5.0", features = ["json"]}
serde = {version = "1.0.198", features = ["derive"]}
serde_json = "1.0.111"
num-format = "0.4.4"