Last updated 1 year ago
Was this helpful?
You Can Get All Forms.
/forms
curl -L \ --url 'https://cm.test/api/forms'
{}
Select From By ID and show fileds of it.
/forms/{model}
The model ID
curl -L \ --url 'https://cm.test/api/forms/{model}'
You Can View All Requests Come to Selected Form.
/form-requests
curl -L \ --url 'https://cm.test/api/form-requests'
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}'
You Can Show A Selected Request.
/form-requests/{model}
curl -L \ --url 'https://cm.test/api/form-requests/{model}'