Parse JSON from post request
Accept a post request and try to parse it expecting the data is formated in JSON.
This commit is contained in:
commit
d8ca63ab37
4 changed files with 1152 additions and 0 deletions
11
Cargo.toml
Normal file
11
Cargo.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
[package]
|
||||
name = "webhookey"
|
||||
version = "0.1.0"
|
||||
authors = ["finga <coding@onders.org>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
rocket = "0.4"
|
||||
rocket_contrib = { version = "0.4", default-features = false, features = ["json"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
Loading…
Add table
Add a link
Reference in a new issue