First ajax call against api