Closed dm03514 closed 5 years ago
⟫ go run main.go
{Name:Hello LastRefresh:2018-10-20 00:02:15.152694173 +0000 UTC m=+0.001270736}
starting_server: ":8080"
⟫ curl -X POST -d '{"ip": "1.1.1.1"}' localhost:8080/test -v
Note: Unnecessary use of -X or --request, POST is already inferred.
POST /test HTTP/1.1 Host: localhost:8080 User-Agent: curl/7.47.0 Accept: / Content-Length: 17 Content-Type: application/x-www-form-urlencoded
While still brainstorming and learning data storage/refresh specifics, implement the HTTP interface in order to continue making progress.
Blacklist
Metadata
HTTP Request