agentejo / cockpit

Add content management functionality to any site - plug & play / headless / api-first CMS
http://getcockpit.com
MIT License
5.4k stars 524 forks source link

forms seems not working ? #1189

Open zpike opened 5 years ago

zpike commented 5 years ago

I tried using forms to submit data, but not working with 404 error. but tried with collections, success. I use postman to test APIs. I use JSON object as the document said, but can not submit any data.

ghost commented 4 years ago

What path are you using?

3309 commented 4 years ago

use the specific url path for submitting forms. http://{domainname}/api/forms/submit/{formname}?token={token}.

add body with json data:

{"form":{ valuepairs}} works great

mhrstmnn commented 2 years ago

Even with the correct path it does not work for me.