A server that accepts a request (string) and responds with the inverted string. If the string contains "foo" the server should respond with a bad request code (400).
- Deno -> https://deno.com/
- curl should be installed
deno run --allow-net src/main.ts
deno run --allow-net src/main.ts 8080
deno task dev
deno test --allow-net --allow-run
curl -X POST -d "hello" http://localhost:8000/
curl -X POST -d "foobar" http://localhost:8000/