HTTP Post

Anonymous
Not applicable
I have a request from a third-party vendor to do a HTTP Post to Marketo. I've read through some of the past discussions, but I'm not clear on exactly what I need to provide to this vendor. I've put together a landing page/form for this project, but I'm not sure what we need to pull off of that for the vendor.

Thanks
10585
30
30 Comments
Jep_Castelein2
Level 10

Moderator removed due to security risk and unsupported implementation.

Anonymous
Not applicable
That should be exactly what I need. Thanks

Phil
Anonymous
Not applicable
I'm getting a 404 error when I use this method to determine the POST url.  Is there any other place we should be posting this data?
Jep_Castelein2
Level 10
If you get a 404, that usually means the munchkinId is not correctly specified. Please check spelling and case

Hope that helps, 
Jep
Anonymous
Not applicable
Thanks Jep, but the munchkinId is correct.  I'm sending it as part of the post data though, was it supposed to be appended to the URL as well?
Jep_Castelein2
Level 10
You may want to open a support ticket and specify the exact URL and all the parameters you're passing. If some of the required parameters are missing or incorrect it will give a 404. So a 404 error is not necessarily a sign that the URL is incorrect. 
Anonymous
Not applicable
Add a few things--a correct submission return code we see is 200 and not 302. In addition, if passing multipe-value (from a multi-select picklist), do not pass a multiple key/value pairs, instead pass them as as a single key and the values as a semi-colon delimited list.

Things we learned the hard way
  • Make sure your firewall isn't blocking your posts (took a while for us to figure out in the test environment).
  • Firefox add-on called Poster is your testing friend
  • 404 is always returned if there's anything wrong with the post
  • Fields are supposedly case sensitive
Jep_Castelein2
Level 10
Thanks for your feedback Mark! We'll update the article. 

Best, 
Jep
Anonymous
Not applicable
Came by this post - great article Jep. Btw, now the form endpoints now use your CNAME subdomain instead of POST URL

Edward_Masson
Level 10
Hi Jep,
This is a great article, learned quickly to set this up. I've manged to POST successfully with Email, formid, munchkinId.

What I'm not understanding is the '_mkt_trk'. above in the article you state "if you have Munchkin on your form page" does this mean to place my marketo form onto a marketo landing page for the Munchkin to work?
I thought by your article that I dont need a landing page just a blank form to POST to.

Also, "If no, read it from the cookie with the same name and pass it to Marketo in this field" How do I set up to read it from the cookie?

Best,
Ed.