-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
32600 - Invalid request #83
Comments
I found out what should I specify in my request like =
But now I got an other problem. (I try using telnet). When I send this with telnet I can't have an answer from the server (basically 10 + 10 result in this example). But callback seem to be a valid function when I console.log it... |
Okay really sorry @tedeh I'm starting to understand. On the server/index.js we got those lines =>
It seems that when I call the server with the former parameter I mention, the first if is activate =>
Because callback() has no argument it's an undefined response sent. If I comment this line. Everything seems fine and I got the excepted answer :
|
Ok I understand it by looking at utils.isNotification, I need an "id" to get the answer. |
He he, yes, you need an ID or your request is considered a notification, which means that it does not expect a response. |
Thanks for all these questions and answers. Saved me a lot of time! |
Hello,
First, thanks for your wonderfull work.
I'm trying to have a both communication point from Golang (client - serv) and Node (with your lib) (client serv)
When I try from my program in Go to call 127.0.0.1 3000 (because I'm running the node server on local). I got the following message 👍
Have you any doc that could allow me to bind a valid request because for now I just send to the server (in json) an array of int like =>
The server code =>
Client code in go =>
Thank you :)
The text was updated successfully, but these errors were encountered: