When I use Postman to call an API or anything and that API returns a result that contains URLs, then those URLs are always clickable. When I click them, Postman opens a new tab inside Postman. I find this behavior really frustrating and pointless. Often I just want to copy the URL from the response to use somewhere else, but that is difficult to do because Postman always wants to open that URL in a new tab when I try to select the text. (I know I can right click the link to copy it, but sometimes I want to copy only a part of the URL, not the entire URL.)
Is there a way to disable this behavior? I looked through the settings and I searched on Google and this forum, but was not able to find anything about it. I even asked ChatGPT, but it told me about that option that doesn’t exist (“Request Link Click Action” in General settings). If there really is no way to disable this, could you please add a setting for this? I would love it if I could have Postman handle URLs like any other text, so that nothing happens when I click on/in it.
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.
Thank you for the quick reply and for the script you posted. However, that script is not really what I’m looking for. It’s much easier to just right-click a link and copy it via the context menu. Also, wanting to copy a link was just an example, often I also accidentally click one of those links, then Postman opens that in a new tab. I just want to be able to make them non-clickable in general and permanently, everywhere in Postman. I will add a feature request for that on GitHub.