test flow22

dsalkjfasdlkfjdslfkjasdflksdjfslkfjsdlkjaf

[{"id":"1","type":"tab","label":"Google Tasks Integration","disabled":false,"info":""},{"id":"2","type":"http in","z":"1","name":"Receive Task Request","url":"/add-task","method":"post","upload":false,"swaggerDoc":"","x":140,"y":60,"wires":[["3"]]},{"id":"3","type":"function","z":"1","name":"Prepare Task Data","func":"msg.payload = {\n    \"title\": msg.payload.title,\n    \"notes\": msg.payload.notes || \"\"\n};\nreturn msg;","outputs":1,"noerr":0,"x":320,"y":60,"wires":[["4"]]},{"id":"4","type":"http request","z":"1","name":"Add Task to Google Tasks","method":"POST","ret":"obj","paytoqs":"ignore","url":"https://tasks.googleapis.com/tasks/v1/lists/@default/tasks","tls":"","persist":false,"proxy":"","authType":"bearer","credentials":{"user":"","password":""},"x":540,"y":60,"wires":[["5"]]},{"id":"5","type":"http response","z":"1","name":"Respond to Client","statusCode":"","headers":{},"x":740,"y":60,"wires":[]},{"id":"6","type":"comment","z":"1","name":"Google Tasks OAuth2 Setup","info":"Make sure to set up OAuth2 for Google Tasks API:\n1. Go to Google Cloud Console and create a project.\n2. Enable Google Tasks API.\n3. Set up OAuth2 credentials and redirect URIs.\n4. Use the credentials in the HTTP request node for authentication.","x":340,"y":160,"wires":[]}]

Flow Info

Created 1 year, 4 months ago
Rating: not yet rated

Actions

Rate:

Node Types

Core
  • comment (x1)
  • function (x1)
  • http in (x1)
  • http request (x1)
  • http response (x1)
Other
  • tab (x1)

Tags

  • test
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option