title: Http failure response for http://localhost:8000/api/... 500 Internal Server Error in angular 5
body: <p><a href="https://i.stack.imgur.com/O1KQY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O1KQY.png" alt="Its my component where I am posting data[![Its my service to post the data. and . What&#39;s my mistake"></a>]<a href="https://i.stack.imgur.com/h2fY1.png" rel="nofollow noreferrer">2</a></p>
  
  <p>This API is working fine as I tested using postman. Please help me</p>