I am glad that it is helpful.

Nice question, Actually axios doesn’t save sessions so it won't be possible to access authorized content with it but it can be possible by using selenium or other headless browsers as they open the website in a browser instance where the sessions/cookies will be saved so we can make login script that will log in the user and another script to access the authorized content.

Looking for Laravel | DevOps jobs, GSoC alum and GCI mentor at Drupal, @ankitjain28may https://github.com/ankitjain28may ankitjain28may77@gmail.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store