
The --connect-to option is much nicer and better than --resolve for testing, but for testing against localhost --resolve is good enough and available in older versions of curl.
The --connect-to option is much nicer and better than --resolve for testing, but for testing against localhost --resolve is good enough and available in older versions of curl.