To build the application run go build
.
After building the application to run the serer ./singularity6
curl localhost:9000 -XPOST -d '{ "url": "http://www.singularity6.com" }'
curl localhost:9000/abc123
To check if the service is running the health endpoint can be checked
curl localhost:9000/healthz -X POST