function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
yo22yo22 

Web to Lead using GET ??

Is there a way to send web to lead using GET ?
 
I need a web to lead from FLASH and having some problems...
werewolfwerewolf
No, web to lead does not support GET, only POST.  There is no Dana, only Zuul.


Message Edited by werewolf on 08-21-2008 04:15 PM
yo22yo22

There is, I have tried it and it works.

Here it helps anyone else:

Sending Web to Lead from inside Flash using GET.

submitURL = "http://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8&oid=00D200000***&email=" + _root.the_email + "&first_name=" + _root.the_name +"&phone=" + _root.the_phone + "&00N20000001***="
+"&00N20000000z***="+ _root.the_product +"&00N20000001X***="+ _root.the_property+" some more details"
+"&retURL=http://www.yourreturnaddress.com/file.html";

getURL(submitURL,"GET");

yo22yo22

However, I still need a POST solution as I need to send more data then GET allows.

 

Any help?

werewolfwerewolf
Well, fair warning:  that GET may not work forever.