school server. So i tried axios and finally figured out what the right post request was to autheticate there. Now, how can I make something like a session?
                  
                  
                  in Python you have:
                  
                  
                  
                  
                  
                  session = requests.post("url", someheadersandcookies)
                  
                  
                  
                  
                  
                  And then you can do:
                  
                  
                  
                  
                  
                  session.get("url")
                  
                  
                  
                  
                  
                  And session holds all your cookies, just like a browser.
                  
                  
                  So how do you do this with axios?
                  
                  
                
you can basically just grab and store the cookies from the response headers
Обсуждают сегодня