I added an API in server.js
to return a JSON object with parsed header fields.
-
You should provide your own project, not the example URL.
-
A request to
/api/whoami
should return a JSON object with your IP address in theipaddress
key. -
A request to
/api/whoami
should return a JSON object with your preferred language in thelanguage
key. -
A request to
/api/whoami
should return a JSON object with your software in thesoftware
key.