Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 718 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 718 Bytes

My solution!

I added an API in server.js to return a JSON object with parsed header fields.

User Stories

  • 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 the ipaddress key.

  • A request to /api/whoami should return a JSON object with your preferred language in the language key.

  • A request to /api/whoami should return a JSON object with your software in the software key.