1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00
examples/json_decode_error/src
Stig Johan Berggren 8f3ce39d05
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!
2020-03-16 03:21:13 +09:00
..
main.rs New example: Return JSON decode errors to a client (#268) 2020-03-16 03:21:13 +09:00