How to POST JSON to this API from Node or fetch

fetch with method POST and a JSON content-type. No token required.

Run it

curl -s -X POST https://api.model.tools/api/v1/state/node1 -H 'Content-Type: application/json' -d '{"k":"v"}'

Response

{"ok":true,"id":"node1"}