Communicate with the online API