Answers.Body: <p>You would not use the headless API to submit content in into Craft, as neither the GraphQL or Element APIs support writing.</p>
  
  <p>The frontend entry form functionality is <a href="https://docs.craftcms.com/v3/dev/examples/entry-form.html" rel="nofollow noreferrer">fairly well documented</a>. You would just need your frontend to build out a post request including the correct action, CSRF token, and whatever fields are needed. The action endpoint will automatically return a JSON response if it is posted to by an AJAX request. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-30T21:17:21.257Z
Answers.LastActivityDate: 2019-10-30T21:17:21.257Z
Answers.UserDisplayName: Jeremy Gimbel
Body: <p>I have front-end form on Vue.js and Craft CMS for the backend. I need form. And I want to save data from the form in Craft CMS. How to save data from user frontend to backend on Craft CMS? </p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-07T05:52:24.397Z
Comments.Text: Does this help at all? https://nystudio107.com/blog/using-vuejs-2-0-with-craft-cms
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-08T08:08:12.630Z
Comments.Text: Thanks, but this isn't solve my problem
Comments.UserDisplayName: Людмила Петчик
Tags: <craft3><database><form><vue>
Title: How save data from form in headless Craft via Vue.js
ThreadText: # How save data from form in headless Craft via Vue.js
  
  (Asked by: username_0 on 2019-07-03)
  
  I have front-end form on Vue.js and Craft CMS for the backend. I need form. And I want to save data from the form in Craft CMS. How to save data from user frontend to backend on Craft CMS?
  
  **Tags:** craft3, database, form, vue
  
  > **Comments:**
  > **username_1**: Does this help at all? https://nystudio107.com/blog/using-vuejs-2-0-with-craft-cms  
  > **username_0**: Thanks, but this isn't solve my problem  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-10-30. Score: 1
  
  You would not use the headless API to submit content in into Craft, as neither the GraphQL or Element APIs support writing.
  
  The frontend entry form functionality is [fairly well documented](https://docs.craftcms.com/v3/dev/examples/entry-form.html). You would just need your frontend to build out a post request including the correct action, CSRF token, and whatever fields are needed. The action endpoint will automatically return a JSON response if it is posted to by an AJAX request.
  
  
  ---
  
  