mirror of
https://github.com/xodivorce/npx-xodivorce.git
synced 2025-12-20 08:29:33 +05:30
(chore): initial MVP release
This commit is contained in:
9
https-test.js
Normal file
9
https-test.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// Node.js script to make an HTTPS GET request and log status and content type.
|
||||
// Expects: Status: 200; Content-Type: application/pdf
|
||||
|
||||
import https from "https";
|
||||
|
||||
https.get("<https://your-domain/path/to/your-resume.pdf>", (res) => {
|
||||
console.log("Status:", res.statusCode);
|
||||
console.log("Content-Type:", res.headers["content-type"]);
|
||||
});
|
||||
Reference in New Issue
Block a user