window.handler

1 min read Original article ↗

This is a serverless platform for http requests. Open the dev console and define window.handler.

window.handler = function(request){
  
  return {
    'body': `Hello ${request.get.name}`
  }

}

You can access this function from the world wide web. Copied!

curl "https://windowhandler.com/?name=nolan"

See some more docs. And most importantly, have fun.

(If you have a usecase for this, I'd love to hear about it @jastrauss)