Send (ajax) api response