Answering anyway, maybe he stops then…
Please read through your code more carefully before posting a question on Stackoverflow over and over again. You’re using resp.send(...)
instead of res.send(...)
.
resp
is the response of your server-side API call, res
is the response-object of the client request. You probably want to send your response there..
3
solved Getting error TypeError: undefined is not a function