Tuesday 27 December 2016

Data fields change to arrays on POST

I have a strange problem. I have some embedded data that I'm posting to my server written in NodeJS, and the data seems to be changing a little. I watch the data right up until it's posted to the server, and everything seems okay. When it is received by the server the keys within the data change and have square brackets '[]' around them. Here's what I'm seeing:Client-side ImgurServer-side ImgurThis is causing problems because the data is not matching between the server and client sides. Any ideas of what could be causing this? I can post whatever code needed.

Submitted December 27, 2016 at 07:00PM by adambear27

No comments:

Post a Comment