1
0
Fork
You've already forked iamalive
0
No description
  • JavaScript 100%
Find a file
2020年09月26日 21:51:34 +01:00
index.js Use a dict to overwrite previous server ip instead of just appending a new ip to the array 2020年09月26日 21:51:34 +01:00
package.json Hello world 2020年09月26日 21:33:32 +01:00
README.md Rename README to README.md 2020年09月26日 21:34:04 +01:00

I am alive

A deadly simple http server that tracks the IPs of whatever sends a POST request to it.

curl -d 'name=myPersonalNotebook' -X POST $SERVER_IP:$PORT

curl localhost:3000
[{"name":"myPersonalNotebook","ip":"<REDACTED>","updatedAt":"2020年09月26日T20:23:56.799Z"}]

Running

node node index.js $PORT