Do you want the password to be passed to HubSpot. Feel like that might need to stay out of site. I am also wondering if instead of a form submission, your app should just update the contact when a form is completed 🤔
We are planning to make call to HubSpot API and pass the data in form-type format (method "call"), then returned result is in JSON. Can you recommend how to do it in Ruby?