Relatively new to Postman and APIs in general. I am making decent progress, but the following is tripping me up.
I need to store the output of a header called “Link” as a variable, however it contains additional output that I do not need. I can successfully store the output as is with: pm.environment.set(“themeLink”, pm.response.headers.get(“Link”));
Sample header output below:
<https://10.83.10.111:443/transfer/ef55dc09-59f3-4371-a29e-8a3c37bdf995/upload.zip>;rel="upload:default";type="application/octet-stream"
How can I capture only https://10.83.10.111:443/transfer/ef55dc09-59f3-4371-a29e-8a3c37bdf995/upload.zip and store this as a variable?