how can confiforms change submit url like webhooks, i will post the form data to some custom url, i known easy form is ok, but the easy form is not support file field, thanks a lot!
Hi
ConfiForms has REST APIs for integrations https://wiki.vertuna.com/display/CONFIFORMS/REST+API
Also, any time you can set up a form that will do additional requests to your services as you like - by setting up the ConfiForms IFTTT rules https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-WebServiceRequest
Alex
thanks @Alex Medved _ConfiForms_ ,i already read the docs,have the questions:
1.when do additional requests(to my custom url), how choose action to perform??i see two, i used the post method
(1). make http request
(2).webservice request
2.when the form contain the file field, how the iftttt rules send the file to my custom url
i used ${sql filed} or confiform form field, but in my custom url. i just get the file name, not the file self, so how to get the file content in my custom view??i used the django, request.POST method is failed.
3.in the ifttt rules, whether or not can contains muti fields?? ex: many text fields and one file filed, when submit that all data can send to my custom url???is that ok ???
i am sorry about the questions, i just the beginer used the confiforms, i really Thank you verry much!
1. It is better to use "webservice request", as it allows you to hide auth details from end users and support any type of request type (POST,GET.PATCH, etc)
2. I think it could be done the same way as we do it with POSTing to Jira https://wiki.vertuna.com/display/TEST/Create+Jira+issue+with+webservice+connection+with+files+and+remote+links (see how file is transferred)
3. Not sure I understand this completely, but there are no limits on the number of fields you can send/use
@Alex Medved _ConfiForms_ thanks for your reply!
i read the doc, and set my form like it, but my custom view can't get the file also!
my custom view get null object like this:<MultiValueDict: {}>
normally,it could get file object.
my form's setting like these snapshots:
ws:
It looks like you're new here. Sign in or register to get started.