title: JSON.stringify with axios post
body: <p>I have a JSON payload which I send to the server using axios POST.
  The key parameter in the payload is a string retrieved from JSON.stringify. The backend alse expects a string. If I output the key it looks ok (pic1).  When adding the key in the payload backslashes are added(pic2). DB value looks ok again without backslashes(pic3), but retrieving the raw value I get the backslashes again (pic4). What is going on here?</p>
  <p>This is how I set up the payload:</p>
  <pre><code>let puked = JSON.stringify(keys.rsaPuk);
  console.log(puked);
  
  var accountRequest =  {
      &quot;pukedKey&quot;:  {key: puked}
  }
  
  
  axios.post(Vue.prototype.$backendUrl + &quot;/v1/accounts&quot;, {
      accountRequest : accountRequest            
  })
  </code></pre>
  <p><a href="https://i.stack.imgur.com/3aIwS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3aIwS.png" alt="Pic1" /></a>
  [<img src="https://i.stack.imgur.com/OZRV7.png" alt="Pic22" />
  <a href="https://i.stack.imgur.com/mToe7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mToe7.png" alt="Pic3" /></a>
  <a href="https://i.stack.imgur.com/Nj7vo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Nj7vo.png" alt="Pic4" /></a></p>