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
Post requests with tag arrays are not working. #20
Comments
This seems to be the default behavior of both axios and resource. |
apparently, axios does not have an "emulateJSON" option, making it even harder to send it as form data in the first place... |
Nevermind the {arrayFormat: 'repeat'} option resolves all issues... Fixing. Suggested solution works like a charm :D |
Unless we find some better way we will have to switch to using axios every time we wish to send tags. Axios cannot be used everywhere because its default setting cannot be set to urlencoded form data. |
To my understanding, vue-resource's http.post method adds unwanted [] at every tag.
The text was updated successfully, but these errors were encountered: