skip to Main Content

How to upload file from local python script to Azure container?

I'm trying to upload a json file directly from my python script (VSC) to an Azure blob container. Here is what I've tried: account_url = "https://containerxyz.blob.core.windows.net" default_credential = DefaultAzureCredential() blob_service_client = BlobServiceClient(account_url, credential=default_credential) container_name = 'https://containerxyz.blob.core.windows.net/a/b/raw/' file = 'test.txt' contents…

VIEW QUESTION

Extract SOAP body from Envolope request inside azure logic app action

I have a Logic app (LA) that have an http trigger. To the LA, I send a SOAP request similar to this: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"></SOAP-ENV:Header> <SOAP-ENV:Body> <tns:Order xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://test.com"> <name>AAAA</name> <id>1234</id> <OrderType>new</OrderType> </tns:Order>…

VIEW QUESTION
Back To Top
Search