Converts
curl
to a web service call on Mikrotik's RouterOS, via Postman's codegens.
Most curl commands line options should work, and be converted to RouterOS scripting commands. But not everything can be converted, such as file operations. But a lot can! The tool will attempt to convert as much as it can, even if not in complete fidelity with curl. So use this page as guide, not a reference.
NEW
Convert
curl
request to
/tool/fetch
Known Issues:
- The backend service may go to "sleep", so an initial request may take up to 30 seconds to appear. Future conversion requests should happen within a few seconds, as you type.
- While
--json
is valid in [modern] curl, it is not known the parser, so the content type must be set using-H 'Content-Type: application/json'
manually. - RouterOS does not support handling 3xx redirects, so
-L
and--location
are ignored.
* Disclaimer
This site is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Mikrotik. All product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.