title: How to make post call using headers and body angular 5
body: <p>Hi Developers I'm new into ionic and angular. Could you please help me?</p>
  
  <p><a href="https://i.stack.imgur.com/qB7Zy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qB7Zy.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/nYfaG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nYfaG.png" alt="enter image description here"></a></p>
  
  <p>How can I get <code>itemAry</code> and how to set in <code>api.ts</code> file(post method).<a href="https://i.stack.imgur.com/nYfaG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nYfaG.png" alt="enter image description here"></a> </p>
  
  <p>In <code>api.ts</code> file now the details are static. How can I get dynamically? </p>