Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document submitting forms in headless setups #1463

Open
ScottPenhall98 opened this issue Sep 27, 2024 · 2 comments
Open

Document submitting forms in headless setups #1463

ScottPenhall98 opened this issue Sep 27, 2024 · 2 comments

Comments

@ScottPenhall98
Copy link

ScottPenhall98 commented Sep 27, 2024

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

@jackmcdade
Copy link
Member

jackmcdade commented Sep 27, 2024 via email

@ScottPenhall98
Copy link
Author

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

@duncanmcclean duncanmcclean changed the title Document REST API Document submitting forms in headless setups Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants