Hi All,
Simply is it possible to update from one Mikrotik scripting via REST API and fetch to update other Mikrotik settings.
Spent 3 days and countless ways seems it was not built to work with fetch and mikrotik. By logs api user logs in ok
For example below code returns error 400
/tool/fetch http-method=post http-header-field="Content-Type: application/json" http-data="payload={\"name\":\"MK_TEST\"}" url="http://1.2.3.4:80/rest/system/identity" user=user password=pass
Or code below returns 404
/tool fetch url="http://1.2.3.4:80/rest/interface/vlan/*0" \
http-method=patch \
http-data="{\"comment\":\"TEST_COMMENT\"}" \
http-header-field="Content-Type: application/json" \
user=user \
password=pass