# Axios post is not working for netlify forms with vue.js, vue router and parcel-bundler

**URL:** <https://answers.netlify.com/t/axios-post-is-not-working-for-netlify-forms-with-vue-js-vue-router-and-parcel-bundler/20987>\
**Category:** Support\
**Tags:** redirects, netlify-forms\
**Created:** [August 18, 2020, 2:15pm UTC](https://answers.netlify.com/t/axios-post-is-not-working-for-netlify-forms-with-vue-js-vue-router-and-parcel-bundler/20987 "2020-08-18T14:15:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![atiar.cse](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@atiar.cse](https://answers.netlify.com/u/atiar.cse)\
**Post date:** [August 18, 2020, 2:15pm UTC](https://answers.netlify.com/t/axios-post-is-not-working-for-netlify-forms-with-vue-js-vue-router-and-parcel-bundler/20987/1 "2020-08-18T14:15:05Z")

</div>

Hi,

Axios post is not working with vue router for netlify forms -  
[https://exactius.netlify.app/join-the-team/campaign-manager/apply](https://exactius.netlify.app/join-the-team/campaign-manager/apply)

Error: Request failed with status code 404

Even followed this instruction: [Netlify Forms with Vue @submit.prevent="handleSubmit"](https://answers.netlify.com/t/netlify-forms-with-vue-submit-prevent-handlesubmit/12325)

here - [https://exactius.netlify.app/test-form-submit](https://exactius.netlify.app/test-form-submit)

Also configured \_redirects as  
/\* /index.html 200  
/\* /index.html 404

Any help will be appreciated.  
Thank you!

---

<div class="post-metadata">

**Author:** ![jen](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jen/32/6044_2.png) [@jen](https://answers.netlify.com/u/jen)\
**Post date:** [August 22, 2020, 10:52pm UTC](https://answers.netlify.com/t/axios-post-is-not-working-for-netlify-forms-with-vue-js-vue-router-and-parcel-bundler/20987/2 "2020-08-22T22:52:14Z")

</div>

Hey @atiar.cse,  
Is the repo for this public or could you please share your Vue form code here so we can take a look?

---

<div class="post-metadata">

**Author:** ![atiar.cse](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@atiar.cse](https://answers.netlify.com/u/atiar.cse)\
**Post date:** [September 16, 2020, 3:51pm UTC](https://answers.netlify.com/t/axios-post-is-not-working-for-netlify-forms-with-vue-js-vue-router-and-parcel-bundler/20987/4 "2020-09-16T15:51:09Z")

</div>

Hi, It was fixed by pre-rendering the html from inside index.html
