Sometimes, I have to test a webservice from a device who can’t resolve the name of it.
When that’s required, you can count on CURL to achieve that easily:
curl --resolve www.example.com:80:127.0.0.1 http://www.example.com/
Useful tips, notes or IT resources by Sébastien Marcellin
Sometimes, I have to test a webservice from a device who can’t resolve the name of it.
When that’s required, you can count on CURL to achieve that easily:
curl --resolve www.example.com:80:127.0.0.1 http://www.example.com/