How can I improve the elegancy of my code that uses axios?
问题 I am trying to migrate from request to axios, since request has been deprecated. Suppose that the url 'https://www.example.com' receives a post request with formdata that contains login information, and also suppose that I need to maintain the current session across multiple requests(for that I need a cookieJar). Using axios I need cookieJar support from an external library therefor I use axios-cookiejar. Also to send formdata using axios I have to use the external library form-data, and I