3 Replies Latest reply on Nov 13, 2018 2:41 PM by Sanford Whiteman

    API connection to Marketo from a WebGL site throwing CORS errors

    Selene Regan

      Has anyone got any experience of trying to do an API or Forms 2.0 connection to a WebGL website. The App we have is available in 3 formats that we have created an API to connect to Marketi, iOS, Android & a WebGL website. It works for iOS and Android, The data is not arriving in Marketo from the website. We have tested a registration using the WebGL and the browser console displayed an error saying that the API couldn't be contacted because of CORS restrictions. No record appeared in Marketo. This leaves us in a position of having to build a completely new API just for the website, which we want to avoid as this has to be otsourced and so is costly. We understand that if we can whitelist their domain in the CORS settings in Marketo, it will work, but we looked on the internet and found that Marketo doesn't allow this as it is a security risk. My question is, is the whitelisting definitely not possible, and if so, is there a way around the issue using the existing API?