목록jupyterhub (1)
중요한건 꺾이지 않는 맥북
'_xsrf' argument missing from POST 오류 해결 방법
jupyterhub API 활용할 때 발생하는 문제 1. jupyterhub CRUD API 호출시 405에러가 뜨면서 '_xsrf' argument missing from ~ 에러메세지를 뱉는 경우에는 url = '{your jupyterhub server ip:8000}/hub/login' headers = { "Content-Type": "application/x-www-form-urlencoded" } data = { "username": user_name, "password": pass_word } r = requests.post(url, data=data,headers = headers) 위 코드블럭과 같이 주피터허브 로그인 API를 먼저 호출해서 로그인 정보와 세션정보를 cookie값에 가지..
jupyterhub
2022. 12. 23. 14:41