Successful connection with API using jQeury