How should consent fields be sent with the v2 forms API and multipart/form-data?


#1

We use the v2 forms API to be able to forward to forms from third-party sites. To be able to send attachments, we use the multipart/form-data content type. The new "ajax" forms API has docs on legal/consent fields, but the v2 docs have none. How are those fields supposed to be sent to that endpoint?

For reference:



#2

Hi @Lars-Erik,

There are currently no plans to support the legal/consent options on this version of the Forms API endpoint. If you need to set this data via API, you will need to switch to the AJAX version.


#3

How do files work with the AJAX version?


#4

hello can you help mes for solve proplem for my site web