Help required to send files from Thingworx to Azure Blob Storage using REST API
Hello Team,
Am trying to upload some pdf files from thingworx repository to azure blob storage using REST API,
Could you please share any sample code available for the same?
below is what am trying
var params = {
url: "https://<AccountName>.blob.core.windows.net/<container>/<folder>?<sasToken>",
headers: {
"x-ms-blob-type": "BlockBlob"
},
content: fileContent, // Ensure this is raw file content
contentType: "application/octet-stream",
timeout: 60000 // 60 seconds
};
// Use ThingWorx HTTP POST/PUT
var result = Resources["ContentLoaderFunctions"].PutText(params);
Not getting any result or error, please help

