Golang REST API server with Redis database. It will expose APIs for creating/updating different company information in webserver.
GET - Reads an existing resource
POST - Creates a new resource
PUT - Updates an existing resource
DELETE - Deletes an existing resource
#compile
make
#run
./bin/restapiservice
#test
from browser/postman/curl hit the fallowing urls
POST
http://127.0.0.1:9070/api/companyinfo/v1/comp_instance/cisco-323
GET
http://127.0.0.1:9070/api/companyinfo/v1/all
http://127.0.0.1:9070/api/companyinfo/v1/comp_instance?compid=cisco-323&time=any