[Bug] Unable to copy urls from json response
See original GitHub issue- Insomnia Version: v5.12.4
- Operating System: Ubuntu 17.10
Details
Hi there!
When working with a HATEOAS services, the backend sends a lot of urls to be consumed by the requester application. Usually these URLs are then used in others APIs to do other stuffs. The easy way to do that would be to copy the returned URL returned in the response JSON, and paste that URL in the new API request.
The problem here is that Insomnia doesn’t allow to copy URL in the JSON response, as you can see here:

Could this be a bug?
Best regards, Rafael Pacheco.
Edit: I just found that the Copy menu only enables if the json text is selected. But since these are URLs, they are hard to select, and a direct right click should allow to copy the url.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Unable to understand and parse the JSON URL response
I am new to JSON and unable to understand the response. In addition, I need to parse the response in json or in...
Read more >How to Fix the Invalid JSON Response Error in WordPress
The WordPress invalid JSON response error happens in the new Block Editor (AKA Gutenberg) when something goes wrong on your site.
Read more >Error while parsing JSON Response in REST API Post call
I have copied and pasted the REST Request and Response JSON definitions into the Request and Response text boxes provided by OS REST...
Read more >How to Fix "Updating Failed. The Response is Not a Valid ...
The JSON response error could be appearing because your website addresses on the Settings page are not configured properly. To set things right, ......
Read more >How to Fix the Invalid JSON Error in WordPress? - Rank Math
How To Fix 'Updating Failed. The Response is Not a Valid JSON Response' Error · Check the URL Settings of the WordPress Site...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Bump
I know this is an old issue, but I am facing what I think is the same on macOS. Right-clicking or ctrl-clicking seems to just open the URL in the browser, instead of allowing me to copy it.
It’s possibly to highlight the URL and copy it, but it’s easy to accidentally select too much or too little, and I think it would be a big improvement to automatically select the contents of the string for copying in this case.
Example reproduction can be found with the GitHub API:
$.urlwhenGETing https://api.github.com/repos/Kong/insomnia/pulls/4551Since this has been closed, should I open a new issue to track this again?
Edit: I found some more recent discussion here: https://github.com/Kong/insomnia/discussions/3660
It seems like it doesn’t exactly address the issue, but is related at least.