When there is no processing on server side, get json directly from /api