From e158d9aafddd744839add39423e18068e62c86d1 Mon Sep 17 00:00:00 2001
From: Fillerino http://localhost:5279/lbryapi
.
- It can be accessed by any utility capable of making HTTPS GET and POST requests, such as cURL or possibly your toaster. + It can be accessed by any utility capable of making HTTPS GET and POST requests, such as cURL or possibly your toaster. Psst, if you are on windows you could use PowerShell while testing, scroll down to the bottom of this page to get more info.
To verify the LBRY daemon is running correctly, let's try looking up a URI: @@ -54,3 +54,8 @@
You can also list all of the commands available by calling the help command.
$curl 'http://localhost:5279/lbryapi' --data '{"method":"help"}'
+If you are running Windows and would like to follow this guide you could substitute curl with a PowerShell console and the following code. +
+$Invoke-RestMethod -Uri 'http://localhost:5279/lbryapi' -Body 'THE_JSON_DATA' -Method POST | ConvertTo-Json
+