I'm trying to rewrite cURL request to Fetch request, and I'm stuck at http-header-field where I'm trying to define Content-Type: application/json and Fetch appending Content-Type: application/x-www-form-urlencoded.
If I don't define http-header-field it defaults to Content-Type: application/x-www-form-urlencoded, but if I define http-header-field="Content-Type: application/json" it will send both Content Types like: Content-Type: application/json,application/x-www-form-urlencoded.
Code: Select all
Content-Length: 41
Content-Type: application/json,application/x-www-form-urlencoded
User-Agent: Mikrotik/6.x Fetch
Also MikroTik documentation mentioning option http-content-type at https://help.mikrotik.com/docs/display/ROS/Fetch but it's not available on ROS v6.49
This is all tested at https://dev.oscato.com/ and on MikroTik ROS 6.49
Is it possible to fix this?