Can any help on my following usage of Azure Data Lake Gen2 REST API. when I am going to flush to data to the file, it has error :
"message": "An HTTP header that's mandatory for this request is not specified
Error message after adding the header x-ms-date
My Steps : Step 1 PUT https://.dfs.core.windows.net/mydatalakefs/testing.json?resource=file
Header Content-Length : 0 x-ms-version:2018-11-09 Authorization :Bearer
Step 2 PATCH https://.dfs.core.windows.net/mydatalakefs/testing.json?action=append&position=0
Header Content-Type:application/json Content-Length:15 x-ms-version:2018-11-09 Authorization :Bearer
Body {"name":"1234"}
Step 3 Patch https://.dfs.core.windows.net/mydatalakefs/testing.json?action=flush&position=15
header Content-Length:0 x-ms-version:2018-11-09 Authorization :Bearer x-ms-date: Mon, 24 Sep 2019 05:53:53 GMT