For wallet-related RPC calls, the url must have the wallet
name in the path: http://localhost:8332/wallet/testwallet.
This patch corrects the documentation.
Note that for unloadwallet 2 forms are accepted: wallet name in the path and
wallet name as an argument. Hence, I added an example to show both ways.