title: How to fix "ERROR com.intuit.karate - http request failed: null" while trying to make post call in KARATE DSL?
body: <p>Below is my feature file content. While executing the runner class for this feature file I am facing this error "16:09:06.508 [main] ERROR com.intuit.karate - http request failed: null".</p>
  
  <pre><code>Feature: To test POST leads API
  
  Scenario: Test with valid flow
  Given url leads
  And request { "lastName": "Anderson", "email": "sam.anderson@matrix.com",    "phoneNumber": 39123345,    "privacyVersion": "1.1",    "marketing": true }
  When method post
  Then status 200
  And match response == {"referenceId": '#notnull'}
  And match response == {"referenceId": '#string'}
  </code></pre>
  
  <p>Get request is working fine.</p>