api data method; creating ajax for boot-api-data;