Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. namespace AWSTestLambda.Controllers
  2. {
  3. [Route("api/v1/[Controller]")]
  4. public class ItemsController : RpcController
  5. {
  6. public String Test(int id)
  7. {
  8. return "testing";
  9. }
  10. }
  11. }
  12.  
  13. {
  14. "jsonrpc": "2.0",
  15. "method": "Get",
  16. "params": {
  17. "id": 1234
  18. },
  19. "id": ""
  20. }
  21.  
  22. {
  23. "id": "",
  24. "jsonrpc": "2.0",
  25. "error": {
  26. "code": -32601,
  27. "message": "No methods matched request.",
  28. "data": null
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement