Categorygithub.com/Craftbec/Server
module
0.0.0-20240328094135-3dd76db98eb0
Repository: https://github.com/craftbec/server.git
Documentation: pkg.go.dev

# README

Server

Run

make run

Usage

GET - Get the maximum time period

curl -X GET http://localhost:8080/api/v1/get_observation_time/{model_id}

GET - Get a report for a given id

curl -X GET http://localhost:8080/api/v1/get_report/{report_id}

POST - Write data to reports

curl -d '{"report_info":"{report_info}"}' -H "Content-Type: application/json" -X POST http://localhost:8080/api/v1/set_report

# Packages

No description provided by the author