Streaming live at 10am (PST)

How do I send Input Field Data through an API in Base64 encode


#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


#2

So on form submit, convert a field’s value to base64 using JavaScript?

See https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/btoa


#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.


#4

Am facing the same problem. Hope anyone here can help me too. Thanks in advance.
Regards,

https://messenger.red/ https://hotstar.onl/ https://kodi.software/download/


#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.