Added '-L' parameter to curl command