title: How to do a POST request with JSON via Groovy?
body: <p>I have one REST API, which expects data. We are using following curl command for sending data and header information:</p>
  
  <pre><code>curl -X "POST" "https://xxx.xxx.xxx/xapplication/xwebhook/xxxx-xxxx" -d "Hello, This is data"
  </code></pre>
  
  <p>What will be the equivalent Groovy Script?</p>