Had some fun today trying to reproduce an application error request to a rest endpoint with cli tools.

##wget wget -v --header "Accept: application/json" --header "Accept-encoding: gzip" https://www.endpoint.com

##curl curl -v -H "Accept:application/json" -H "Accept-encoding:gzip" -H https://www.endpoint.com