Skip to content

Commit

Permalink
now
Browse files Browse the repository at this point in the history
  • Loading branch information
yodobrin committed Dec 19, 2022
1 parent 0f5a3ee commit 3308e7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions aca/Controllers/BlobController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public async Task<ActionResult<string>> CopyBlob(BlobRequest item)
// download the file to a temporary location (sample container)
BlobContainerClient localBlobClient = new BlobContainerClient(sourceCS,TEMP_LOC);
string localSas = GetServiceSasUriForContainer(localBlobClient);
// using a unique name for the file
string localFileTemp = Guid.NewGuid().ToString();
BlobClient localBlob = localBlobClient.GetBlobClient(localFileTemp);
Uri uri = new Uri(item.BlobName);
Expand Down
5 changes: 3 additions & 2 deletions sample_data/requests.rest
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
POST http://localhost:7071/api/func_upload_sample_files

POST https://copy-alternative-func.azurewebsites.net/api/func_upload_sample_files?code=xcWvGXk5obBYVtT1HEHS4THazrcVeglWRHZ-LrNGkHx0AzFu5vmpNg==

{
"files": 5,
"container": "test",
"connection_string": "<your_connection_string>"
"connection_string": "<your cs>>"

}

0 comments on commit 3308e7f

Please sign in to comment.