반응형
tomcat을 docker 환경에서 selenium chrome 브라우저로 사용하려니 에러가 발생하였다. /root/.cache/selenium/chromedriver/linux64/122.0.6261.128/chromedriver: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory libglib2.0 라이브러리 없다는 에러 apt update apt install -y libglib2.0 라이브러리 설치 후 해결 /root/.cache/selenium/chromedriver/linux64/122.0.6261.128/chromedriver: error ..
Route::patch('/users/{id}', [UserController::class, 'modifyUserInfo']); routes/api.php 파일에 위의 코드를 추가해줍니다.
Route::put('/users/{id}', [UserController::class, 'modifyUserAllInfo']); routes/api.php 파일에 위의 코드를 추가해줍니다.
Route::post('/users', [UserController::class, 'createUser']); routes/api.php 파일에 위의 코드를 추가해줍니다.