Comments (4)
Matt,
the dweetio API only allows the sending of objects... - so raw values have to be wrapped in something to make it an object.... - we chose "payload" .... if a node-red dweetio input node receives an object called payload then it does "do the right thing" and unpacks it back to a raw value.
Closing this as would need them to change their API to allow sending raw data.
from node-red-nodes.
But there should be an option to say "I'll make my own object so don't wrap
it in a payload object". I have another system connecting at the other end
for which it expects the dweet contents to be a specific format, if I want
to connect it to node-red, I now have to explicitly handle the payload
object and unwrap it, which isn't ideal.
On 9 Jul 2015 10:39 pm, "Dave Conway-Jones" [email protected]
wrote:
Matt,
the dweetio API only allows the sending of objects... - so raw values have
to be wrapped in something to make it an object.... - we chose "payload"
.... if a node-red dweetio input node receives an object called payload
then it does "do the right thing" and unpacks it back to a raw value.Closing this as would need them to change their API to allow sending raw
data.—
Reply to this email directly or view it on GitHub
#122 (comment)
.
from node-red-nodes.
Whoa... you are so right.. now checks if it's an object and if so leaves it alone... otherwise wraps it in {payload:...
republished (so leaving closed)
from node-red-nodes.
Perfect! :)
On 9 Jul 2015 11:21 pm, "Dave Conway-Jones" [email protected]
wrote:
Whoa... you are so right.. now checks if it's an object and if so leaves
it alone... otherwise wraps it in {payload:...republished (so leaving closed)
—
Reply to this email directly or view it on GitHub
#122 (comment)
.
from node-red-nodes.
Related Issues (20)
- [node-red-node-pi-gpio] on Venus OS and other non raspian OS
- Node-red Serial port output node, response time too long. HOT 5
- Node-red does not run on a FIPS crypto policy enabled OS HOT 2
- [Vulnerability] nodemailer ReDoS when trying to send a specially crafted email.
- EMAIL (node-red-node-email) , If msg.to is defined msg.paiload is ignored HOT 3
- node-red-node-email, send node "ReferenceError: msg is not defined" on deploy HOT 1
- node-red-node-email: authentication: none broken HOT 5
- select sqlite fail response
- Installation failed in latest node version above 18 HOT 1
- How can I disable the creation process? HOT 2
- Get datetime when qwery a date column HOT 2
- node-red-node-pi-gpio -> nrgpio.py uses ~1% CPU per IO port
- Node-red-node-email stops fetching GMail
- Gmail will soon require OAUTH credentials - "node-red-node-email" in jeopardy! HOT 4
- Node-red-node-email vulnerabilities HOT 6
- node-red-node-email unhelpful connect error HOT 4
- node-red-node-pushover support for attachment_base64 and attachment_type
- mcp3xxx node does not seem to recognise raspberry pi on a pi4 running bookworm HOT 3
- Stomp node: error sending payload as XML
- node-red-node-serialport message duplication
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-nodes.