I am trying to send updates from estimate.cloud to a server but I do not get anything.
Can you please check my code and the log on your backend? I know that getting bulk data works but it will be more computationaly intensice and harder to code so I prefer that aproache.
I am trying to send updates from estimate.cloud to a server but I do not get anything.
You mean you never see the request arriving at your own server? Your code looks good, so that could mean a problem somewhere on the server side—I suggest maybe investigating there.
This will send a request to the “postman-echo.com” service, which simply replies back with what it got. In my case, I saw something like this in the console:
I did not get anything when I changed the code they way you showed. Should it be displayed on the cloud event log in the IDE or on the postman website, local postman or on my terminal?
I am looking at all and nothing happens. Would you like to log into my account and take a look? I can send the credentials to your email.
Still nothing.What about request-promise. WHat does that do?
Even when I try to display a string with that method nothing comes on the log console.log(JSON.stringify(‘start’));
… then you’re only forwarding the payload part of the complete event:
{type: "assets-update",
payload: {assets: ["..."]}, // <=== only this gets sent
enqueuedAt: "2018-10-30T13:27:23.170Z",
identifier: "5e7e309e594c26a4d0694a90698c7534"}