New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Post/Put data on an entry's collection

Jérémy Vienney August 30, 2019 by Jérémy Vienney

Hello guys !

I'm a trying to update data on entry by AJAX but been stuck :

  1. First a POST call to add a new entry on a collection A with some anonyme user datas.
  2. Second Then call a PUT method on the current viewing entry from a collection B with adding a new item on a relational field (UIID of the user previously created).

So I've tried the FETCH addon for handling AJAX call but it seems only fetching entries (even with POST method), do I have missed something for submitting entries outside from the CP, or do I have to create an addon for that ?

Thanks you,

Jérémy.

Answered by Erin Dalzell!
>>>>>>> Answered <<<<<<<
2 Replies
2 Followers