Click here to Skip to main content
15,891,708 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
".post('https://api-in21.leadsquared.com/v2/LeadManagement.svc/Lead.Capture?accessKey=r9b4f434d7930c6a4&secretKey=5fa328205477ae3e74e', data)
  .then(ress => {
    console.log(`statusCode: ${ress.statusCode}`);
    console.log(ress);
    res.send(""true"");"


What I have tried:

I have tried many times ,, getting error
Posted
Updated 28-Mar-22 3:56am
Comments
OriginalGriff 28-Mar-22 9:55am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

use the "Improve question" widget to edit your question and provide better information.

1 solution

Please run the code as below

".post('https://api-in21.leadsquared.com/v2/LeadManagement.svc/Lead.Capture?accessKey=r9b4f43xxxwwwsecretKey=5faxxxwwwwq4e', data) .then(ress => { console.log(statusCode: ${ress.statusCode}); console.log(ress); res.send(""true"");"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900