You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
moneroexamples
c2dd7f3b62
|
8 years ago | |
---|---|---|
ext | 8 years ago | |
.gitignore | 8 years ago | |
CMakeLists.txt | 8 years ago | |
README.md | 8 years ago | |
main.cpp | 8 years ago |
README.md
JSON REST service for Monero stuff over https
Example of using restbed to provide Monero related JSON REST service.
Scrap notes
Setting up https and ssl certificates in restbed
From the link above:
# Create Certificate
cd /tmp
openssl genrsa -out server.key 1024
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
openssl dhparam -out dh768.pem 768
Example of curl https request
curl -k -X POST -H "Content-Type: application/json" -d '{"jsonrpc": "2.0", "id": "test", "method": "notifyServer","params": {}}' https://localhost:1984/resource
Other examples
Other examples can be found on github. Please know that some of the examples/repositories are not finished and may not work as intended.
How can you help?
Constructive criticism, code and website edits are always good. They can be made through github.
Some Monero are also welcome:
48daf1rG3hE1Txapcsxh6WXNe9MLNKtu7W7tKTivtSoVLHErYzvdcpea2nSTgGkz66RFP4GKVAsTV14v6G3oddBTHfxP6tU