Nghia Nguyen : you can also respond with HTML if you want, per Dylan’s example:
$respond({
status: 200,
headers: {
"Content-Type": "text/html; charset=UTF-8"
},
body: `<html><h1>Hi, ${name}</html>`,
})
Nghia Nguyen : you can also respond with HTML if you want, per Dylan’s example:
$respond({
status: 200,
headers: {
"Content-Type": "text/html; charset=UTF-8"
},
body: `<html><h1>Hi, ${name}</html>`,
})