Core.Jsonrpc
Methods demo
We recommend you check out the Core.Jsonrpc documentation to understand this concept.
Available tests |
#ul-test
|
JsonRpc consoleThis is the data your server-script is supposed to send. It does not have to be indented, that was only for demonstration pourposes.
|
|
Warning
Do always send the HTTP header “Content-Type: text/plain; charset=utf8” before sending the response, you'll have weird results otherwise. Using PHP this could be done as below:header('Content-Type: text/plain; charset=utf8');
MSIE 6.0 and 7.0 do not respect the Content-Type sent if an HTML tag
is found among the response, they corrupt the JSON before Meteora can read it.
To avoid this you can print some line breaks (\n) before actually sending
the response. Using 200 or 300 \n before sending the answer will do the
trick.