OK.. I can't seem to figure out how to PULL data from packet fence with the
web services API.
I can trigger events with it like so:
curl -v -H "Content-Type: application/json-rpc" -H "Request: register_node"
-X POST -d
'{"params":["mac","00:11:22:33:44:55","pid","timdenike","category","business"],"jsonrpc":"2.0","method":"register_node"}'
http://localhost:9090/
This does what you'd think.. Registers the node.
But how do I retrieve and use the "node_information" or "view_person" api
commands.
Im trying to integrate packet fence into an ISP billing/accounting system
and need to have the 2 fully talking.. Ive got it part way done.. Just
trying to fill in the gaps.
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users