This example demonstrates using @benzene/http
with Deno.
Download the example
curl https://codeload.github.com/hoangvvo/benzene/tar.gz/main | tar -xz --strip=2 benzene-main/examples/deno
cd deno
Run it:
deno run --allow-net --import-map=./import_map.json main.ts
Deploy to Deno Deploy using deployctl:
deployctl deploy --project=benzene-example --import-map=./import_map.json --token=$DENO_DEPLOY_TOKEN main.ts