title: in Karate DSL, is there a way to have redirects perform a POST request instead of a GET request?
body: <p>I have the following Karate script that by default has redirects turned on. </p>
  
  <pre><code>  Scenario: First Test
      Given path 'somePath'
      And request ''
      And header Content-Type = 'text/html'
      And param _csrf = csrf
      And param username = 'username'
      And param password = 'password'
      When method post
      Then status 200
  </code></pre>
  
  <p>The issue is after getting a 302 from the API, the next request automatically submits a GET request. I would like it to submit a POST request instead. </p>
  
  <p>in cURL, there is an existing parameter that allows users to do that. see below. </p>
  
  <p>--post302       Do not switch to GET after following a 302</p>
  
  <p>is there anyway to do that in Karate DSL?</p>