POSTDHT
From flud
Note: the most up-to-date documentation of the protocol is the source code itself, at http://flud.org/tryit.html
Contents |
[edit] PUT /meta/[key]/[val]
Stores a key/value pair to the DHT layer.
[edit] authentication
This operation does not require authentication.
[edit] required parameters:
- Ku_e: integer value (not encoded). value of 'e' from public key.
- Ku_n: integer value (not encoded). value of 'n' from public key.
- nodeID: derivative of Ku.
- port: integer value (not encoded). listen port.
[edit] possible responses
normal response:
- code: 200 OK
- data: none
response for malformed request:
- code: 400 BAD REQUEST
- data: error message