Hi!
I'm trying to run some commands (specifically setting a policy for a network client) using Keenetic's REST API, which is working fine as long as I send requests to my internal IP address 192.168.1.1. But for my final goal I need to be able to run those commans from a cloud, which is why I need to be able to send https requests to my domain name registered on KeenDNS.
The problem is that when I send auth requests to https://xxx.yyy.keenetic.name/auth the service wouldn't send back headers like X-NDM-Challenge and X-NDM-Realm in the response and I can't build an authorization header to proceed.
Are there any configurations or workarounds that would let me send REST API requests to my domain name instead of IP?
Thanks.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
em286
Hi!
Edited by em286I'm trying to run some commands (specifically setting a policy for a network client) using Keenetic's REST API, which is working fine as long as I send requests to my internal IP address 192.168.1.1. But for my final goal I need to be able to run those commans from a cloud, which is why I need to be able to send https requests to my domain name registered on KeenDNS.
The problem is that when I send auth requests to https://xxx.yyy.keenetic.name/auth the service wouldn't send back headers like X-NDM-Challenge and X-NDM-Realm in the response and I can't build an authorization header to proceed.
Are there any configurations or workarounds that would let me send REST API requests to my domain name instead of IP?
Thanks.
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.