Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. var msg =
  2. {
  3. "jsonrpc": "2.0",
  4. "id": 6,
  5. "method": "DoSave",
  6. "handle": 1,
  7. "params": [
  8. "example.qvf"
  9. ]
  10. }
  11.  
  12. ws.send(JSON.stringify(msg));
  13.  
  14. {
  15. "jsonrpc": "2.0",
  16. "id": 6,
  17. "result": {}
  18. }
  19.  
  20. {
  21. jsonrpc: '2.0',
  22. id: 6,
  23. error: {
  24. code: -32602,
  25. parameter: 'Invalid handle',
  26. message: 'Invalid Params'
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement