Set api server