title: Extracting json response from http request on jenkins pipeline
body: <p>I'm creating a CI for my app using jenkins</p>
  <p>Below is an additional script I call after building my app</p>
  <pre><code>script{            
        sh 'curl -X POST -H &quot;Authorization:test &quot;https://api/upload&quot; -F &quot;file=@path&quot;'
       }
     
  </code></pre>
  <p>Above script will return json response, how can I extract the ID field from json and store it on a variable?</p>