19 lines
340 B
JavaScript
Executable File
19 lines
340 B
JavaScript
Executable File
'use strict';
|
|
|
|
const bhttp = require('bhttp');
|
|
|
|
async function init() {
|
|
const res = await bhttp.head('https://www.kink.com/consent', {
|
|
headers: {
|
|
Host: 'www.kink.com',
|
|
'User-Agent': 'HTTPie/2.6.0',
|
|
Accept: '*/*',
|
|
Connection: 'keep-alive',
|
|
},
|
|
});
|
|
|
|
console.log(res.body.toString(), res.headers, res.statusCode);
|
|
}
|
|
|
|
init();
|