Skip to content

Instantly share code, notes, and snippets.

Working from home

Adil Aziz adilj13

Working from home
View GitHub Profile
View cf-workers-mail-send.js
addEventListener("fetch", event => {
async function readRequestBody(request) {
const { headers } = request;
const contentType = headers.get('content-type') || '';
if (contentType.includes('application/json')) {
return JSON.stringify(await request.json());

Keybase proof

I hereby claim:

  • I am adilj13 on github.
  • I am adilj13 ( on keybase.
  • I have a public key ASCxX6Mynzy5EFAsrfBMH0fl0Cb4gNstTPYru45E_gK_aAo

To claim this, I am signing this object: