check status by curl