#Todayilearned that #curl has a --resolve option. Helped me a lot when debugging ingress on a docker swarm cluster.
> curl example.com --resolve www.example.com:80:127.0.0.1
will call port 80 on localhost instead of the public IP of www.example.com
This entry was edited (1 year ago)
daniel:// stenberg://
in reply to Pontus Ullgren • • •curl another host | daniel.haxx.se
daniel.haxx.se