curl server header na code example Example: curl host header curl --header "Host: example.com" http://127.0.0.1/