if (req.method == "PUT") {
  set req.method = "POST";
}