Webform submission via URL "GET" | Community
Skip to main content
May 2, 2016
Solved

Webform submission via URL "GET"

  • May 2, 2016
  • 2 replies
  • 2941 views

Hi- we are doing an integration with a third-party system that can issue GET, but not POST commands.  Therefore, we were hoping that we could construct URL-like submission to submit a Marketo form, but are getting 400 errors.

Here is the URL submission we are attempting:

app-sjh.marketo.com/index.php/leadCapture/save2/munchkinId=000-XXX-000&formId=1171&formVId=1171&email=a@a.comure/save2/munchkinId=000-XXX-000&formId=1171&formVId=1171&email=a@a.com

Error:

{"error":true,"errorCode":400,"message":"Form error, no subscription ID"} 

We have triple-checked the munchkinId and confirmed the form has been approved (and tested it from a  landing page).

We looked around for resources, and found developers.marketo.com/blog/make-a-marketo-form-submission-in-the-background/  and developers.marketo.com/blog/server-side-form-post/, plus other discussions, but couldn't find pointers to the answer.  Any ideas here?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

...&method=_POST

2 replies

SanfordWhiteman
New Participant
May 2, 2016

You're also being reckless with case-sensitivity.  Don't do that.

May 2, 2016

Thanks Sanford! That was the problem.

This is the final working URL (with reckless case-sensitivity - we'll fix that, but I wanted to point out that I needed to use "?" rather than "/"):

app-sjh.marketo.com/index.php/leadCapture/save2?munchkinId=000-AAA-000&formId=1171&formVid=1171&email=a@a.com&me…​​

SanfordWhiteman
New Participant
May 2, 2016

Of course, otherwise /munchkinId is part of the pathname.  Standard URL format.

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
May 2, 2016

...&method=_POST