Minimalistic HTTP Client Test Utilities.
- Built on top of reqwest.
- Optimized for testing convenience, not for performance.
- Do not use for production/application code, just for testing.
- For production code (apps, services, ...) use the underlying reqwest library and its utilities.
Thanks
- Thanks to @joeftiger for dependencies update (#23)
- Thanks to @Manubi for the
colored_jsonupdate. - Thanks to @JamesGuthrie for
- Thanks to @cyril-marpaud for the PR #9 - feat: provide Response's StatusCode.
- Thanks to @eboody for the PR #7 - Add colors to output (enable with
features = ["color-output"]) - Thanks to @defic for the type client
get/post/put/patch/deleteand the responsebody...APIs.
Example
use Result;
use ;
async