I have attempted using the REST API using the fetch tool from my home router, which runs ROS 6.47.10, out to a CHR which is currently running v7.1RC2. I have also tried the same with RC1 and beta5. The REST API doesn't appear to be functioning in any of them
I run the following on my home router
Code: Select all
/tool fetch http-method=get url=https://3.22.208.229/rest/system/resource check-certificate=no user=admin password=""
Code: Select all
status: failed
failure: ssl connection error: handshake failed: error 14077410 (6)
Code: Select all
curl -k -u admin: https://3.22.208.229/rest/system/resource
Code: Select all
curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
if I'm stupid and doing this wrong, that's ok, I'll take correction for being stupid/ignorant. I've never used a REST API before....but I really wish Mikrotik would at least give me a three word "you're doing it wrong" response if that's the case.
edit: layout and spelling