Re: /index.php/leadCapture/save returns 404

Rasmus_Bidstru1
Level 4

/index.php/leadCapture/save returns 404

Hi

im trying to server site post a form, but im getting a 404 all the time when calling

    <form id="myform" action="http://app-lon02.marketo.com/index.php/leadCapture/save" method="POST">

Any advice?

2 REPLIES 2
Grégoire_Miche2
Level 10

Re: /index.php/leadCapture/save returns 404

Hi Rasmus Bidstrup,

Is this a form 2.0 or 1.0 ?

If it's 2.0, you should rather use the forms 2.0 API (Forms 2.0 » Marketo Developers ).

-Greg

Rasmus_Bidstru1
Level 4

Re: /index.php/leadCapture/save returns 404

The issue is that i want it as a POST from a currect form on an external landingpage, so i dont want to embed the Marketo form.

Found out i need to use http://app-lon02.marketo.com/index.php/leadCapture/save2​ with a 2 at the end.. but now im just getting an Error 400 instead 😞