Save response to file curl

Download silently, fail on error, follow redirects

curl -sSL -o /tmp/result.json https://api.example.com/data