use elif and check http data exists