Last updated 1 year ago
Was this helpful?
You Can Get All Forms.
curl -L \ --url 'https://cm.test/api/forms'
{}
Select From By ID and show fileds of it.
The model ID
curl -L \ --url 'https://cm.test/api/forms/{model}'
You Can View All Requests Come to Selected Form.
curl -L \ --url 'https://cm.test/api/form-requests'
You Can Show A Selected Request.
curl -L \ --url 'https://cm.test/api/form-requests/{model}'
You can use this endpoint to store the form requests.
curl -L \ --request POST \ --url 'https://cm.test/api/form-requests' \ --header 'Content-Type: application/json' \ --data '{ "form_id": 1, "payload": [ "text" ] }'