mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-14 06:50:00 -04:00
5 lines
No EOL
142 B
JavaScript
5 lines
No EOL
142 B
JavaScript
async function test() {
|
|
let r = await libcurl.fetch("https://example.com/");
|
|
assert(r.status === 200, "wrong status");
|
|
await r.text();
|
|
} |