Open ScottPenhall98 opened 4 hours ago
The rest api is read only, the form submissions via Ajax is more of an HTML/POST adaption of the tag rather than an API specific one. On Sep 26, 2024, at 8:04 PM, ScottPenhall98 @.***> wrote: Looking at the docs for content/collections/docs/rest-api.md there is no reference of creating form submissions. Diving a bit deeper and looking into Form submissions, you are able to submit items through the endpoint !/forms/{form} and there is some information on using AJAX to submit forms "https://statamic.dev/forms#using-ajax" but I feel there should be some information in these docs to explain it a bit better. Cheers
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi @jackmcdade, Thanks for that.
Looking at the AJAX docs regardless, there is no endpoint listed there. Do you think we could add it?
Cheers
Looking at the docs for
content/collections/docs/rest-api.md
there is no reference to creating form submissions. Diving a bit deeper and looking into Form submissions, you are able to submit items through the endpoint!/forms/{form}
and there is some information on using AJAX to submit forms "https://statamic.dev/forms#using-ajax" but I feel there should be some information in these docs to explain it a bit better.Cheers