Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support version over jsonrpc #852

Merged
merged 1 commit into from Oct 2, 2019

Conversation

@michael-loki
Copy link
Collaborator

commented Oct 2, 2019

$ curl -s -X POST -H 'content-type: application/json' --data '{"method": "llarp.version", "params": {}, "id": "foo"}' localhost:1190/jsonrpc | jq .
{
  "id": "foo",
  "jsonrpc": "2.0",
  "result": {
    "version": "lokinet-0.5.2-8f46a62a"
  }
}
@michael-loki michael-loki force-pushed the michael-loki:rcp_version branch from 384e6c0 to d467e26 Oct 2, 2019
@majestrate majestrate merged commit 1af9ae2 into loki-project:dev Oct 2, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.