Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend request options (baseURL, method, contentType) #35

Closed
LucaDe opened this issue Aug 29, 2019 · 2 comments · Fixed by #36
Closed

Extend request options (baseURL, method, contentType) #35

LucaDe opened this issue Aug 29, 2019 · 2 comments · Fixed by #36

Comments

@LucaDe
Copy link
Contributor

LucaDe commented Aug 29, 2019

Currently you can't configure baseURL, HTTP method (hardcoded to POST atm) and contentType (hardcoded as well).

I will do a PR for this :)

@Manweill
Copy link
Owner

@LucaDe
So sorry~
I am a Bad coder

@Manweill
Copy link
Owner

baseURL usually like this axios.default.baseURL = 'xxx.xxx.com'
But your thoughts are not bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants