Currently, I am utilizing angular2-jwt to handle the code following an http.get request. In order to properly send an http post request, I must encode the body.
let body = {
"sub": "1234567890",
"name": "John Doe",
"iat": 1516239022
};
this.http.post(url, body, { headers: headers }).subscribe(res => {
resolve(res);
}, (err) => {
resolve(err);
});