- Copy from the
./lib/{plugin-version}/go-{version}
folder appropriate plugin binaryjsightplugin.so
to the./src
folder. - Go to
./src
folder. - Run server with
go run main.go jsight.go
. - Run "good" test request:
curl --request POST localhost:8000/users -d '{"id":123,"login":"john"}'
. - Run "bad" test request and get a validation error:
curl --request POST localhost:8000/monsters -d '{"id":123,"login":"john"}'
.
NOTE: for running on Windows read ./windows/README.md
.