JibbyFlow
(Gabriel)
September 22, 2018, 1:53pm
1
Hello,
I need to send input field data through Webflow to an API and in transit it will have to be converted to Base64 encode when it is delivered to the endpoint.
Is this possible to be done through Webflow Name : Value pair custom attributes or any other way ?
Any insight would be extremely valuable for me.
Thank You,
Jibby
samliew
(webflowexpert.com)
September 22, 2018, 2:22pm
2
So on form submit, convert a field’s value to base64 using JavaScript?
See btoa() - Web APIs | MDN
JibbyFlow
(Gabriel)
September 22, 2018, 3:38pm
3
Ok. I will review that. Is there a simplified way through Webflow interface or Hackey type way ?
I’m still trying to figure out if it is even possible.
JibbyFlow
(Gabriel)
September 22, 2018, 7:05pm
5
So you think btoa(.classFormName)
Will send All data in a POST in Base64 to an API URL through Action ?
I’m a little lost still but I get what btoa encodes
And atob decodes.
I’ve spent my day learning about ASCII and Base64 in general.
Very interesting stuff.