Curl should fail when it can't succeed