I'm having some trouble authenticated via rest.
1. I followed the instructions here to create a service or api account http://developers.marketo.com/documentation/rest/custom-service/
2. I then use the identity rest end point along with the grant_type of client_credentials, my client_id and client_secret. The credentials being found come from the view details link on the account created in step 1.
3. I then execute a GET with those parameters, but what I'm getting back is HTML(rather than JSON). The content also appears to be a login page.
I checked around quite a bit and could not find anyone else with a similar issue?
You're going to need to post the actual request response. If you're getting HTML that's probably because you're getting redirected to an error page (i.e. 404) because of a typo in the endpoint URL.
Thanks for responding so quick. It's actually not returning a 404, rather it's a 200. What's more is that I get the same response if I just do a get to the actual identity url.
Here's what my url looks like. Probably not an issue to put the full URL in, it's a test region with no data at present.