I'm having a similar problem as I'm trying to develop a client-side browser-based REST API interface. The marketo server is on a different domain, so I'm getting the same cross-domain related error as the OP. Does the marketo REST API support any workarounds such as CORS or JSONP?