1
0
mirror of https://github.com/actix/examples synced 2025-02-02 09:39:03 +01:00

2 Commits

Author SHA1 Message Date
Robert Gabriel Jakabosky
20d7af6c27
Improve json_decode_error example. (#363)
* Improve json_decode_error example.

* Remove 'Per-type' JsonConfig.
2020-09-11 08:31:34 +01:00
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