Navigation

    Home
    All Categories
    • KEEN Trail Camera
    • Top #ReolinkCaptures Awards
    • Announcements and News
    • Wishlist
    • #ReolinkTrial
    • Discussion About Products
    • Reolink Captures
    • Reolink Client & APP
    #ReolinkTrial
    Reolink Captures
    Log in to post
    Guest
    • Guest
    • Register
    • Login

    Learn More

    Reolink updates Learn More

    Meet Reolink at IFA 2024! Learn More

    Reolink Q&A Learn More

    CGI assistance

    Discussion About Products
    2
    4
    317
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Kraze_644556700938245
      Kraze last edited by

      I am trying to run a CGI command to disable/enable RTSP on my WiFi doorbell, but I keep running issues. I am not getting an error when running the command, just returns nothing. Surely I've made a mistake in my syntax, just unsure where.


      curl -s -d '[{"cmd":"Login","action":0,"param":{"rs": "abcd", "User":{"userName":"USERNAME","password":"PASSWORD",{"cmd":"SetNetPort","param":NetPort,"action":{"rtspEnable":0}}}}}]' https://192.168.0.226/api.cgi?cmd=Login
      Reply Quote
      Share
      • Share this Post
      • Facebook
      • Twitter
      • copy the link
        Copied!
      -1
        • joseph_1979
          Joseph Global Moderator @Kraze last edited by joseph_1979

          @kraze_644556700938245 This is fairly easy. Check them out and let me know. If they work you shall receive 200OK ... like SIP for answer message 200OK :). Note that the Escape sequence is only needed for Win.

          To enable

          curl -s -k -X POST -H "Content-Type : application/json" -d "[{\"cmd\":\"SetNetPort\",\"param\":{\"NetPort\":{\"rtspEnable\": 1}}}]" "https://#IP_CAM/cgi-bin/api.cgi?cmd=SetNetPort&user=#USER&password=#PASSWORD" 

          To disable

          curl -s -k -X POST -H "Content-Type : application/json" -d "[{\"cmd\":\"SetNetPort\",\"param\":{\"NetPort\":{\"rtspEnable\": 0}}}]" "https://#IP_CAM/cgi-bin/api.cgi?cmd=SetNetPort&user=#USER&password=#PASSWORD" 



          Reply Quote
          Share
          • Share this Post
          • Facebook
          • Twitter
          • copy the link
            Copied!
          1
          • Kraze_644556700938245
            Kraze @Joseph last edited by

            That did it! Thank you very much!!

            Reply Quote
            Share
            • Share this Post
            • Facebook
            • Twitter
            • copy the link
              Copied!
            0
            View 1 replies
          • First post
            Last post
          All Categories
          Announcements and News Reolink Client & APP Discussion About Products #ReolinkTrial Reolink Captures Wishlist KEEN Trail Camera
          Never miss Reolink hot deals, news, and updates tailored for you.

          Thanks for your subscription!

          Please enter a valid email address.

          Oops… Something went wrong. Please try again later.

          You are already subscribed to this email list. :)

          Submission failed. Please try again later.

          Reolink Store|Support|About Us|Privacy Policy|Terms and Conditions

          Copyright 2025 © Reolink All Rights Reserved.

          Welcome Back!

          Hi there! Join the Commnunity to get all the latest news, tips and more!

          Join Now