Skip to main content
Johnny Tsead 님이 #Customer Service에 질문했습니다

I can't seem to integrate Salesforce Web to Lead properly (in Wordpress, without plugin). Here is the cURL request we're sending:

 

curl -X POST \

 

  http://www.salesforce.com/servlet/servlet.WebToLead \

 

  -H 'cache-control: no-cache' \

 

  -H 'content-type: application/x-www-form-urlencoded' \

 

  -H 'postman-token: 4ea12e2e-7456-eed7-21b9-747fd69485e7' \

 

  -d 'debug=1&encoding=UTF-8&oid=00D900000011WwK&00N9000000DXBog=Round&00N9000000DXBol=2%20to%2010&00N9000000DXBoq=D%20to%20H&00N9000000DXBp0=Deep%20to%20Fancy%20Deep&00N9000000DXR3u=2%2F20%2F2018&country=Test%20Country&phone=123456789&email=stefan.test%40diamondregistry.com&last_name=Stefan%20Malic&company=Stefan%20Malic&lead_source=web'

 

I turned on the debugger and I get "Your request has been queued.", however nothing pops up in our Salesforce logs.

I'm not using a plugin, I'm simulating the API request so later I can incorporate it into the code with PHP cURL.

 

Can you tell us what we're doing wrong?

 

Many thanks in advance

답변 1개
0/9000