mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
New example: Return JSON decode errors to a client (#268)
* Add JSON decode error example * cargo fmt * Use more appropriate response codes * curl -i similar for all examples * Add one more example of 422 response * use to_string instead of empty format!
This commit is contained in:
committed by
GitHub
parent
456f3efc55
commit
8f3ce39d05
@ -16,6 +16,7 @@ members = [
|
||||
"hello-world",
|
||||
"http-proxy",
|
||||
"json",
|
||||
"json_decode_error",
|
||||
"json_error",
|
||||
"jsonrpc",
|
||||
"juniper",
|
||||
|
Reference in New Issue
Block a user