I know that the question is findable on the forum but no answer works for me. I have an angular service that calls a nodeJS API like this:

**Angular service**

```
public createUser(pUser: User): Observable<User> {
    var url = "http://localhost:5000/users";
    var json = JSON.stringify(pUser)
    return this.http.post<User>(url, pUser)
  }

```

**NodeJS API**

```
router.post('/', (req, res) => {
    console.log(req.body)
    User.create({ email: req.body.email, password: req.body.password })
    res.sendStatus(200);
});

```

The API is well called, the insertion into database works, but I have this message in the browser:

> 
> SyntaxError: Unexpected token O in JSON at position 0
> 
> 
> 

The status of the request is 200 on return but the error is still present in the browser

I do not know if the problem comes from the front end or the backend.

After doing some research, I try to parse my object before sending it. I try to stringify too. 

Without success

Is this someone would have the solution? thank you very much