Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Salesforce by (13.1k points)
We are working Web-to-lead to generate a oid which will integrate to salesforce account. But it is throwing an error and was not able to POST to salesforce using curl, node.js or postman. Can anyone help me with this?

1 Answer

0 votes
by (26.7k points)
edited by

You can make sure that you have provided the URL so that, it will make a request to POST.

var options={

    url:"https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8",

    form:form

};

I hope this will help.

Want to become a Salesforce expert? join Salesforce Developer Certification now!!

Browse Categories

...