title: Angular - (Valid JSON) fromJSON - Unexpected token s in JSON at position 0
body: <p>I'm having some difficulties implementing a post request to my Spring Rest service running on localhost. </p>
  
  <p>Now the request and the service both work, the current problem is that I keep receiving the same error, saying that my JSON is incorrect.</p>
  
  <h2>The code which I use for creating the JSON request:</h2>
  
  <pre><code>$scope.addComment = function(){
  var url = "http://localhost:8080/evenement/"+evenementId+"/deelnemers/"+deelnemer.id+"/addComment";
    $http.post(url, {"content" : $scope.data.comment, "author":"testUser"}).then(function(res){
      $scope.response = res.data;
      console.log(res.data);
    });
  };
  </code></pre>
  
  <p>I tried removing the quotes, using single quotes and using no quotes, as answered on other questions with the same problem.</p>
  
  <hr>
  
  <p><a href="https://i.stack.imgur.com/WSMSx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WSMSx.png" alt="Request Payload as shown in Developer Console including errormessage."></a></p>