Using Azure Blob Storage REST API with python

ambharesh venkatraman 61 Reputation points
2021-04-20T05:05:55.863+00:00

Hi,

I want to use REST API PUT BLOB method to store blob locally with the URL "http://127.0.0.1:10000/devstoreaccount1/mycontainer/myblob" in Linux.

I was not able to find any python function for the REST API.
Is there a python function to use this REST API and if yes how to use them. Since the storage emulator does not support Linux, is it possible to use this in a python function and access the azure-blob-storage docker container.

Thanks,
Ambharesh

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
574 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,864 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 46,286 Reputation points Microsoft Employee
    2021-04-21T14:48:43.257+00:00

    @ambharesh venkatraman Thanks for raising this question! Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    Have you tried azurite emulator?

    you can use this connection string and pass into python sdk: Use Azurite emulator for local Azure Storage development | Microsoft Learn

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.