title: Wiremock how to map a 302 response in JSON for standalone run
body: <p>In wiremock, if you are using it for testing, you can programately return 302 using temporaryRedirect(String destination) with a detination path</p>
  <pre><code>stubFor(post(urlEqualTo(&quot;/firsturl&quot;))
              .willReturn(temporaryRedirect(&quot;https://somehost:8080/test/&quot;)))
  </code></pre>
  <p>My question is: How can I do the same in standalone running mode, using json mapping file</p>
  <pre><code> {
          &quot;request&quot;: {
             &quot;method&quot;: &quot;POST&quot;,
             &quot;url&quot;: &quot;/api/test&quot;
          },
          &quot;response&quot;: {
             &quot;status&quot;: 302,
             ????? &lt;- how to return the path?
         }
   }
  </code></pre>
  <p>Was not able to find anything about this.</p>