Retrieve query param value from Location Header in response

Hey @krishnakumar.tce :wave:

A long way to go about it but this could work in the Tests tab:

const querystring = require('querystring');

let params = pm.request.headers.get('location').split('?')

console.log(querystring.parse(params[1]).code)