Hello,
I am trying to upload the file from local linux machine to dbfs using request.post(<URI>,<Headers>, params={"path": "dbfs:/tmp", "contents": local_path}) and getting the error b'{"error_code":"INVALID_PARAMETER_VALUE","message":"You must provide the upload path!"}'
local_path -: either csv file or JAR file
referring:- https://docs.databricks.com/api/workspace/dbfs/put
I am not able to understand how to send that file to the dbfs using this call.
Can anyone tell me what exactly I send in request?
Thanks in advance,
Parimal Patil