Skip to content
Advertisement

Tag: json-rpc

json rpc 2.0 in laravel api errors on add request

I add https://github.com/sajya/server for making json rpc over my laravel 8. I just follow the instructions provided here to test it https://sajya.github.io/docs/ All works for the basic example, But if I add params to the curl string an error is raised an error that i cannot understand: my code: my route api file: this request works: curl ‘http://127.0.0.1:8000/api/test1’ –data-binary ‘{“jsonrpc”:”2.0″,”method”:”pharmacies@ping”,”params”:[],”id”

Advertisement