You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Superagent cannot handle Array as data parameter. In node.js, it throws this error:
TypeError: Second argument should be a buffer
at Socket._writeImpl (net.js:159:14)
at Socket._writeOut (net.js:444:25)
at Socket.flush (net.js:523:24)
at Socket._onWritable (net.js:603:12)
at Socket._onConnect (net.js:591:12)
at IOWatcher.onWritable [as callback] (net.js:186:12)
In the browser there is a problem with the JSON serialization: if the data parameter is [1,2,3], the data sent is "1,2,3" instead of "[1,2,3]"
The text was updated successfully, but these errors were encountered:
Superagent cannot handle Array as data parameter. In node.js, it throws this error:
In the browser there is a problem with the JSON serialization: if the data parameter is
[1,2,3]
, the data sent is"1,2,3"
instead of"[1,2,3]"
The text was updated successfully, but these errors were encountered: