Hi
I have been away for a bit (since 3.3) and I am back looking at JSON-RPC calls, but for some reason I cannot get them to work anymore: For example the following works without issues :
wget -v -O - --no-http-keep-alive --post-data='{"id": 1, "method": "common.server.version", "params": [null, null]} ' \
--header="Content-Type: text/json" --no-check-certificate \
{
"id": 1,
"result": "4.2.1"
}
But when I attempt to connect with a specific database I get a 405 (method not allowed error)
wget -v -O - --no-http-keep-alive --post-data='{"id": 1, "method": "system.server.listMethods", "params": [null, null]} ' \
--header="Content-Type: text/json" --no-check-certificate \
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>405 Method Not Allowed</title>
<h1>Method Not Allowed</h1>
<p>The method is not allowed for the requested URL.</p>
thanks
Nz