solve api access problem from client website