One other useful switch is -H to pass arbitrary request headers, eg -H "X-Foo: bar". I'm sure there's a better way, but I usually end up switching things like user-agent (and other things) like this