Add -L to curl command