Answers.Body: <p>So looks like i found the answer.  My javascript was submitting the data as json instead of as regular form data.  I reformatted and it works as expected. </p>
  
  <p>Whoops.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-23T23:40:50.673Z
Answers.LastActivityDate: 2014-08-23T23:40:50.673Z
Answers.UserDisplayName: Keith Mancuso
Body: <p>Does anything need to be done to allow for ajax submittions using the GuestEntries plugin? 
  <a href="https://github.com/pixelandtonic/GuestEntries" rel="nofollow">https://github.com/pixelandtonic/GuestEntries</a></p>
  
  <p>I'm following the method used here for Contact form, it submits fine and returns success but nothing shows up in the DB?</p>
  
  <p><a href="https://github.com/pixelandtonic/ContactForm#ajax-form-submissions" rel="nofollow">https://github.com/pixelandtonic/ContactForm#ajax-form-submissions</a></p>
  
  <p>in chrome the request looks right?</p>
  
  <pre><code>Request URL: http://familiar.dev/
  Request Method: POST
  Request Payload:
  {"action":"guestEntries/saveEntry","sectionId":"5","enabled":"1","redirect":"contact/thanks","title":"asdsa"}
  </code></pre>
  
  <p>any ideas?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-23T23:23:28.687Z
Comments.Text: What's the response look like in Chrome?  Anything weird getting logged in craft/storage/runtime/logs?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-23T23:40:10.267Z
Comments.Text: So i think i figured it out.  my payload was sent as json instead as regular form data.  I reformatted and everything is working!
Comments.UserDisplayName: Keith Mancuso
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-23T23:41:13.030Z
Comments.Text: Ahh... nice catch.
Comments.UserDisplayName: Brad Bell
Tags: <ajax><guest-entries>
Title: Ajax Submittions to Guest Entries
ThreadText: # Ajax Submittions to Guest Entries
  
  (Asked by: username_0 on 2014-08-23)
  
  Does anything need to be done to allow for ajax submittions using the GuestEntries plugin?
  <https://github.com/pixelandtonic/GuestEntries>
  
  I'm following the method used here for Contact form, it submits fine and returns success but nothing shows up in the DB?
  
  <https://github.com/pixelandtonic/ContactForm#ajax-form-submissions>
  
  in chrome the request looks right?
  
  ```
  Request URL: http://familiar.dev/
  Request Method: POST
  Request Payload:
  {"action":"guestEntries/saveEntry","sectionId":"5","enabled":"1","redirect":"contact/thanks","title":"asdsa"}
  
  ```
  
  any ideas?
  
  **Tags:** ajax, guest-entries
  
  > **Comments:**
  > **username_1**: What's the response look like in Chrome?  Anything weird getting logged in craft/storage/runtime/logs?  
  > **username_0**: So i think i figured it out.  my payload was sent as json instead as regular form data.  I reformatted and everything is working!  
  > **username_1**: Ahh... nice catch.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2014-08-23. Score: 1 | Accepted answer
  
  So looks like i found the answer. My javascript was submitting the data as json instead of as regular form data. I reformatted and it works as expected.
  
  Whoops.
  
  
  ---
  
  