Communication with API now works