FeatureFuel
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.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests