mutoe / vue3-realworld-example-app

Explore the charm of Vue composition API! Vite?
https://vue3-realworld-example-app-mutoe.vercel.app
MIT License
963 stars 344 forks source link

feat: improve request #10

Closed levchak0910 closed 4 years ago

levchak0910 commented 4 years ago

request's util improvement: added functions: set and delete auth token dropped getting user auth token via localStorage fixed options.header using for local request added few helpful utils refactored all tests. now each test runs automatically for all methods BEAKING CHANGE: changed final url generation. new implementation covered by tests. i didn't see whether i had broken some api methods. if so, sorry...)