bi test
This commit is contained in:
6
test_data/fetch.ts
Normal file
6
test_data/fetch.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
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"));
|
||||
Reference in New Issue
Block a user