17

Official API

Would be great to have an official API to; 

  • Access Stats / Analytics
  • Retrieve Settings
  • Set Settings / Options
  • Add / Remove (bulk, etc) to the Allowlist/Denylist
  • Access / Query / Download Logs
  • Create / Revoke API Tokens
  • etc...
7replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • Rob
    • iOS Developer
    • Rob
    • 4 mths ago
    • Reported - view

    I would also like to directly make the `https://<random-identifier>.test.nextdns.io` request that is currently contained in a HTML page.

     

    (because of the random identifier I don't know how to do that)

    Like
    • Like 3
      • Rob
      • iOS Developer
      • Rob
      • 4 mths ago
      • Reported - view

      I want to do this on iOS, in a rest client, for example HTTPBot.

      How can I mimic the `-L` behavior?

      Because now I get this response, when performing a GET request on https://test.nextdns.io/:

      <body>
        <pre><script>
      var xhr = new XMLHttpRequest();
      xhr.open('GET', 'https://<random-identifier>.test.nextdns.io/', false);
      xhr.send();
      document.write(xhr.responseText);
      </script></pre>
      </body>
       
      Like
    • Rob set the user-agent header to “curl”

      Like 1
      • Rob
      • iOS Developer
      • Rob
      • 4 mths ago
      • Reported - view

      Olivier Poitrey Thanks! Works in Paw on macOS, but not in HTTPBot on iOS.

      Will follow-up with the HTTPBot author (I expect it to be a bug in that App; the response status is 200, but there's no text, while the App is configured to follow redirects).

      Like
  • Would add the ability to update destination IPs of rewrites to this wishlist

    Like
  • Found this thread while googling around. I would love a way to modify rewrites from the API.

    Like
Like17 Follow
  • 17 Likes
  • 1 mth agoLast active
  • 7Replies
  • 294Views
  • 7 Following