user90531: I want to set a wallet as default wallet in the commands that run with json-rpc calls. the -rpcwallet=blah sets the blah wallet as the wallet which command will run on it; how can I simulate the similar thing with sending a JSON-RPC request? 
When I sending the request, for example curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/, but it run on default wallet. how can I pass the wallet as a parameter in my request?

user64730: To query a specific wallet, set the URL to be
http://127.0.0.1:8332/wallet/<wallet_name>


90531: <p>I want to set a wallet as default wallet in the commands that run with <code>json-rpc</code> calls. the <code>-rpcwallet=blah</code> sets the <code>blah</code> wallet as the wallet which command will run on it; how can I simulate the similar thing with sending a JSON-RPC request? </p>

<p>When I sending the request, for example <code>curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/</code>, but it run on default wallet. how can I pass the wallet as a parameter in my request?</p>
 64730: <p>To query a specific wallet, set the URL to be</p>

<pre><code>http://127.0.0.1:8332/wallet/&lt;wallet_name&gt;
</code></pre>
