Gui BL
04/01/2022, 6:11 PMNeedle
04/01/2022, 6:11 PM/title
command!
We have solved your problem?
Click the button below to archive it.Gui BL
04/01/2022, 6:11 PMGui BL
04/01/2022, 6:11 PMMDobs
04/01/2022, 6:41 PMimport { serve } from "https://deno.land/std@0.131.0/http/server.ts"
import md5 from 'https://cdn.skypack.dev/md5';
console.log("Hello from Functions!")
serve(async (req) => {
const { name } = await req.json()
const data = {
message: md5(`Hello ${name}!`),
}
return new Response(
JSON.stringify(data),
{ headers: { "Content-Type": "application/json" } },
)
})
Needle
04/01/2022, 6:41 PM