Handshake resource
Brief description
Introduce yourself to server
Requests
POST
Parameters
- host -- Node hostname
- post -- Node port
Description
Used to establish link between nodes. Server will then respond with GET /hello
to check whether information is true. If so, it will add client to its nodelist.
Response
Always returns 200 OK status. Content may be one of:
- "OK" -- node was checked and added to nodelist
- "FAIL" -- node failed to be online when checked
- "EXISTS" -- node is already in nodelist
Powered by bitcheese wiki engine