Check curl response status