mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-30 00:41:33 +00:00
Merge pull request #124 from tzarebczan/patch-7
add additional Windows hint for cURL
This commit is contained in:
commit
cf69f66d2a
1 changed files with 4 additions and 0 deletions
|
@ -59,3 +59,7 @@
|
|||
</p>
|
||||
<code class="code-bash"><span class="code-bash__prompt">$</span>Invoke-RestMethod -Uri 'http://localhost:5279/lbryapi' -Body 'THE_JSON_DATA' -Method POST | ConvertTo-Json
|
||||
</code>
|
||||
<p>If PowerShell does not work and you want to continue with cURL, you'll need to escape inner double quotes with a \ to pass the JSON properly via Command Prompt.
|
||||
</p>
|
||||
<code class="code-bash"><span class="code-bash__prompt">$</span>curl "http://localhost:5279/lbryapi" --data "{\"method\":\"get\",\"params\":{\"uri\":\"what\"} }"
|
||||
</code>
|
||||
|
|
Loading…
Add table
Reference in a new issue