11
Add option to resolve a hostname to a specific IP address
Source: Kong/insomnia#3832 · opened by @borekb
For example, I'd like to test a GET request to subdomain.localhost which browsers resolve to 127.0.0.1 but most operating systems don't.
Curl has a convenient --resolve option for these situations, for example, compare plain request:
vs. adding --resolve:
It would be great to a similar functionality in Insomnia. As a workaround, it's possible to add this to /etc/hosts but I think it's better when a higher-level tool like curl or Insomnia support this directly.
Curl has a convenient --resolve option for these situations, for example, compare plain request:
vs. adding --resolve:
It would be great to a similar functionality in Insomnia. As a workaround, it's possible to add this to /etc/hosts but I think it's better when a higher-level tool like curl or Insomnia support this directly.
No pledges yet. Be the first to back this.
Comments
Similar requests
support for command line environment variables
7 votes · 0 comments
Allow customizing curl DNS cache timeout
1 vote · 0 comments
When I past as curl in the address bar. Do NOT make a new request.
2 votes · 0 comments
Resolve File References
11 votes · 0 comments
JSONPath/XPath access to Environment Variables
1 vote · 0 comments
No comments yet.