2021-11-16 04:02:36 +00:00
|
|
|
# Binary Request Example
|
|
|
|
|
|
|
|
This is a basic example of sending binary request data. It will read in the
|
|
|
|
binary file and send back the file's sha256 checksum.
|
|
|
|
|
|
|
|
To run the server, run:
|
|
|
|
|
|
|
|
```bash
|
2021-11-17 05:50:23 +00:00
|
|
|
nix-shell --run 'example BinaryRequest'
|
|
|
|
```
|
|
|
|
|
|
|
|
Or, without nix:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
spago -x test.dhall run --main Examples.BinaryRequest.Main
|
2021-11-16 04:02:36 +00:00
|
|
|
```
|