Closed TheNexter closed 2 years ago
appropriate format for the API call is curl -d '{ "ranges": ["145.0.0.1/24"],
Tested and works. Please consider opening an issue or PR on the netmaker-docs repo to have the reference updated: https://github.com/gravitl/netmaker-docs
Contact Details
No response
What happened?
curl -d '{ "rangestring": "145.0.0.1/24", "interface": "netmakerdocker"}' -H 'Content-Type: application/json' -H "authorization: Bearer myprivatekey" localhost:8081/api/nodes/netmaker/mynodeid/creategateway
Version
v0.12.0
What OS are you using?
Linux
Relevant log output
Contributing guidelines