Hey @gilian
Welcome to the Postman Community!
There isn’t a setting in the app to make those not clickable - In terms of adding that functionality, you can raise a new Feature Request over on our Github Issue Tracker.
If you want a method of copying a link from a response, have you tried logging that out to the Postman Console? Or use Postbot to create a visualizer script to help copy a link/url from the response to the clipboard?
I was just messing about with an basic example and Postbot created this (not so pretty) button which copies the url from the response.
var template = `
<style type="text/css">
.btn {
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
</style>
<button class="btn" onclick="copyToClipboard()">Copy URL to Clipboard</button>
<script>
function copyToClipboard() {
var textField = document.createElement('textarea');
textField.innerText = "{{response.url}}";
document.body.appendChild(textField);
textField.select();
document.execCommand('copy');
textField.remove();
}
</script>
`;
function constructVisualizerPayload() {
var res = pm.response.json();
return {response: res};
}
pm.visualizer.set(template, constructVisualizerPayload());
That is something similar to what I did a while ago with the visualiser.