I have a client who wants me to post leads into their system via a Web2Lead URL.
This seems like it makes sense in theory, but it is not working when I test it via www.hurl.it.
Here is my post:
https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8?city=Test&last_name=Testy&first_name=Test&state=CT
Any idea why this wouldn't work? Doesn't a POST occur anyway when a user manually enters this data a pushes "Submit"?
Thanks,
John
답변 3개

You need your org id and return url.
Org Id parameter name is oid. Return URL is retURL.
So, change your post to something like this:
https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8?city=Test&last_name=Testy&first_name=Test&state=CT&oid=yoursfdcorgid&retURL=http://ladingpageurl