title: How to escape equal sign for HTTP request?
body: <p>In PowerShell I want to call something like this:</p>
  
  <pre><code>Invoke-WebRequest -Uri "http://localhost:3000/test" -Method POST -Body "a="
  </code></pre>
  
  <p>Note the body contains an equal sign (=), but in the server side (I'm using node.js+express.js), if I call <code>request.body</code>, it appears to be <code>{a:""}</code>, while what I want is <code>{"a=":""}</code>.</p>
  
  <p>If I call something like this:</p>
  
  <pre><code>Invoke-WebRequest -Uri "http://localhost:3000/test" -Method POST -Body "`"a=`""
  </code></pre>
  
  <p><code>request.body</code> is <code>"a: """</code>, i.e. a broken JSON string!</p>