This commit is contained in:
2026-01-27 13:27:34 -05:00
parent fb6f260630
commit 28b1ad32f5
4 changed files with 302 additions and 169 deletions

View File

@@ -2,5 +2,5 @@ const response = fetch("https://httpbin.org/get");
console.log("OK:", response.ok);
console.log("Status:", response.status);
console.log("Body:", response.text());
console.log("Content-Type:", response.headers.get("content-type"));
console.log("Body:", response.body);
console.log("Content-Type:", response.headers["content-type"]);