Headerparser is a microservice built using Go. Based on the FreeCodeCamp JS Project: https://www.freecodecamp.org/learn/apis-and-microservices/apis-and-microservices-projects/request-header-parser-microservice
go build
./headerparser
- From the broswer visit the url 0.0.0.0:8080 or 127.0.0.0.1:8080.
a. Alternatively, you can curl:
curl -i -X GET http://127.0.0.1:8080/api/whoami