Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 293 Bytes

api.md

File metadata and controls

25 lines (16 loc) · 293 Bytes

Terminus API

To enable the terminus HTTP API use the -http flag.

Usage

Server

terminus -http=":8080"

Client

Get all facts

curl http://$SERVER_IP:8080/facts

Get a single fact

curl http://$SERVER_IP:8080/facts -d '{{.System.MachineID}}'