Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 2
    this json is invalid . please check your json : jsonlint.com Commented Nov 15, 2019 at 7:43
  • sorry, I changed it, forgot to remove the coma. Now it should be valid json. Commented Nov 15, 2019 at 7:45
  • also you are posting an array to the server which is not valid json or more like text. you should be posting it as json object Commented Nov 15, 2019 at 7:49
  • I am not sure what you mean. The array above is valid json? I checked it with a validator, or do you mean something else? Commented Nov 15, 2019 at 7:55
  • I tried it with Object.assign and send it as a JSON object but it is still not working.. Commented Nov 15, 2019 at 8:02