# Novice question

**URL:** <https://discourse.nodered.org/t/novice-question/66386>\
**Category:** General\
**Created:** [13 August 2022 09:06 UTC](https://discourse.nodered.org/t/novice-question/66386 "2022-08-13T09:06:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![EaB11](https://avatars.discourse-cdn.com/v4/letter/e/ecb155/32.png) [@EaB11](https://discourse.nodered.org/u/EaB11)\
**Post date:** [13 August 2022 09:06 UTC](https://discourse.nodered.org/t/novice-question/66386/1 "2022-08-13T09:06:41Z")

</div>

i have a lumix camera which (it appears) i can control via http.. to start recording on the camera the address is...

[http://IP](http://IP) ADDRESS/cam.cgi?mode=camcmd&value=video\_recstart

i am trying to work out how to trigger this in Node Red ? i have added the HTTP request node and entered the camera address along with post method.. then i added an inject node before the HTTP node but i cant work out what to put in the inject node to trigger the address getting sent to the camera ? or is there something else i need also ?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [13 August 2022 09:13 UTC](https://discourse.nodered.org/t/novice-question/66386/2 "2022-08-13T09:13:41Z")

</div>

typically, if you trigger this by simply opening the link, then it is a GET not a POST.

Also, GET (normally) has no body/payload.

Show us what you have and what response you get (tip: attach a debug node set to show complete message to the output of the HTTP Request)

---

<div class="post-metadata">

**Author:** ![EaB11](https://avatars.discourse-cdn.com/v4/letter/e/ecb155/32.png) [@EaB11](https://discourse.nodered.org/u/EaB11)\
**Post date:** [13 August 2022 12:07 UTC](https://discourse.nodered.org/t/novice-question/66386/3 "2022-08-13T12:07:09Z")

</div>

thanks for helping... when you say "opening the link" how do you do this ? i figure i needed an inject node first to trigger the HTTP request but do i put the URL for the camera in the HTTP node or in the inject node somehow ? given the HTTP node has the url field i figured it would go there but im not sure.. i'll put the debug last and see what it returns..

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [13 August 2022 12:31 UTC](https://discourse.nodered.org/t/novice-question/66386/4 "2022-08-13T12:31:36Z")

</div>

You can either put the URL directly into the HTTP request node or leave the URL field blank and send it from the inject node via `msg.url`. This is written in the built-in help of the HTTP request node.

---

<div class="post-metadata">

**Author:** ![EaB11](https://avatars.discourse-cdn.com/v4/letter/e/ecb155/32.png) [@EaB11](https://discourse.nodered.org/u/EaB11)\
**Post date:** [13 August 2022 13:47 UTC](https://discourse.nodered.org/t/novice-question/66386/5 "2022-08-13T13:47:27Z")

</div>

awesome thanks... that was easier than i was trying to make it for myself.. i had the URL in HTTP node but i was trying to put something else in the inject node as payload to trigger it.. was also using put instead of get 😕... now if i just leave inject blank it works, or adding msg.url like you say works great.. i added the debug node and it looks like its just showing an OK message from the camera.. i'll start trying some more things now.. thanks for the help..

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [12 October 2022 13:48 UTC](https://discourse.nodered.org/t/novice-question/66386/6 "2022-10-12T13:48:06Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
