Some services require a hash been sent as a custom field on the HTTP header to perform secure authentication.
With curl it is easily doable with the -H flag. Would like to have something similar supported on Mikrotik
/tool fetch http-method=put http-content-type="application/json" http-data=("{\"name\":\"".$name."\",\"data\":\"".$data."\"}") url=("www.xyz.com/api/record")
to
/tool fetch http-method=put http-content-type="application/json" http-header="Authorization: xxxxxx" http-data=("{\"name\":\"".$name."\",\"data\":\"".$data."\"}") url=("www.xyz.com/api/record")
Thanks
Pat