Node JS script to check a URLs header length
You can run locally by running npm run start
.
You can pass the data using curl using the following:
curl -X POST http://localhost:8111 -H "Content-Type: application/json" -H "Accept: application/json" -d '{"url":"https://sozodesign.co.uk"}'
{
"url": "https://sozodesign.co.uk"
}
{
"url": "https://sozodesign.co.uk",
"headerLength": 1254,
"headerLengthKilobytes": "1.22",
"timestamp": "2023-12-13T21:05:22.828Z"
}
We use SemVer for versioning. For the versions available, see the tags on this repository or CHANGELOG.md.