racket-request
racket-request copied to clipboard
Package for simplifying HTTP requests and writing integration tests of REST-ful APIs in Racket
Fixes #12 - Provides `json-requester` - `json-requester` returns `json-response` struct - When making requests with a `json-requester` the following headers are automatically injected: `Accept: application/json` and `Content-Type: application/json`. These can...
None of the core code is tested. A way to construct mock requesters might help this.
Some rest APIs don't support modification of data. It should be relatively easy to make a wrapper function that changes a requester's put post and delete functions to throw exceptions.
The documentation is pretty abstract and it's tough to see immediate use cases. It would help to have a tutorial document describing construction of implementing a relatively simple but not...
It's a common lisp/scheme/racket idiom to rely on reading and writing raw s-expressions for data transfer. An out of the box wrapper and requester for working with the `read` and...
Fix: http-forbidden-exn?, http-not-found-exn?, http-internal-server-error-exn?, etc.