Hi,
I was playing around with this end point: http://developers.marketo.com/documentation/rest/get-multiple-leads-by-filter-type/ and everything seems to work with the GET request. However, when I attempted the POST request, I'm getting all sort of errors.
1) When attempting to make a request with "Content-Type: application/x-www-form-urlencoded", I get this error: [{"code":"612","message":"Invalid Content Type"}].
2) When I change the Content-Type to application/json and pass over this in the request body:
{ "filterType" : "Id" , "filterValues" : "146"}
I would get this error:
[{"code":"1003","message":"Leads not specified"}]
3) When i make a similar request via GET, it would return the lead info for 146 correctly.
What am i missing for the POST request? Also, where can i find documentations regarding the POST requests?
thanks for the help.