node-red / cookbook.nodered.org

Node-RED Cookbook
http://cookbook.nodered.org
Apache License 2.0
84 stars 34 forks source link

Feedback on 'Create an HTTP Endpoint' #95

Open sdemills opened 3 years ago

sdemills commented 3 years ago

For me (perhaps not for others) the tutorial is a little thin: I don't understand where the CURL command fits into the picture, whether it is run once only from a terminal to enable something, or whether it has to be run every time this flow runs. I kind of expected, as a tutorial, that it would explain all parts of it. :)

knolleary commented 3 years ago

Hi @sdemills , thanks for the feedback.

The CURL command is provide as an example of a way to test the end point. You could equally open the url in your web browser to test the flow. Reading through the recipe now I can see it doesn't really explain that - we should get that updated to be clearer.

sdemills commented 3 years ago

Thanks for the prompt reply.

I'm new to node-red and Linux although I've read a book, done all the examples in the book and got them to work.

I'm looking for a good way to send a Web request from Tasker on my phone to my Raspberry Pi 4, get the Pi to do some work, and send back a response.

It sounds like I'm on the right path so will persevere in that direction.

Kind Regards Steve Mills Sent from my Samsung S21 Ultra On 14 May 2021 20:37:24 knolleary @.***> wrote:

Hi @sdemills , thanks for the feedback. The CURL command is provide as an example of a way to test the end point. You could equally open the url in your web browser to test the flow. Reading through the recipe now I can see it doesn't really explain that - we should get that updated to be clearer. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.