create endpoint ajax/imobil