Questions tagged [azure-http-trigger]
121 questions
0
votes
1 answer
Azure http trigger functions throwing an error over imported modules from other folder
We are building an http trigger using Azure functions.
import logging
import azure.functions as func
def main(req: func.HttpRequest) -> func.HttpResponse:
logging.info('Python HTTP trigger function processed a request.')
name =…

alim1990
- 4,656
- 12
- 67
- 130
0
votes
0 answers
Azure Functions - Adding project reference causes package error
I'm making an Azure Function with an Http Trigger. Using just the basic boilerplate I added a reference to my library project that just contains most of my application logic. The library project works just fine and builds without error but after…

Isaiah Petrichor
- 1
- 1
0
votes
2 answers
How to call http triggered azure function from timer triggered azure function
There is a timer function, which in the middle of its work should call the http triggered (post request) function. How to do it? Will Durable function - chaining pattern help? How to pass parameters (in requestBody) to the called function?
p.s. I…
0
votes
0 answers
How to increase performance Azure function app http trigger
I'm using @azure/cosmos v3.17.2 for node in an Azure function app to query Cosmos DB (for NoSQL) and return all items in a container. There are only ~200 items in the container currently, but the network tab of developer tools shows that the API…

sarahm16
- 123
- 1
- 11
0
votes
2 answers
The host has not yet started on startup of HttpTrigger using OpenAPI
I have an Azure Function App ver4 (net6) with HttpTrigger using OpenAPI and it raises exception 'The host has not yet started'.
Does the following error let me know to remove the character '/' that precedes my Route string value…

Adam Cox
- 3,341
- 1
- 36
- 46
0
votes
1 answer
How to setup Basic Authentication for Azure Function App HttpTrigger functions (java)
I have created Anonymous HttpTrigger function using java and Deployed to Function App
package com.function;
import com.microsoft.azure.functions.ExecutionContext;
import com.microsoft.azure.functions.HttpMethod;
import…

Balu
- 9
- 5
0
votes
1 answer
How To Add Function Level Authorization to Azure Http Trigger Java Function
I've Created Http Trigger Azure Java Functions, Function Name 1.FUNCTION (FUNCTION LEVEL Authorization)
,,,
package com.function;
import com.microsoft.azure.functions.ExecutionContext;
import com.microsoft.azure.functions.HttpMethod;
import…

Balu
- 9
- 5
0
votes
1 answer
How to Add Admin Level Authorization for Azure Java Functions
I've Created HttpTrigger Azure Java Functions,
Function Name
1.ADMIN (ADMIN LEVEL Authherization)
Above Function Having Admin Auth, Successfully Deployed to Function app
and I've Updated _master Key Value In Function App
But, This Function Not…

Balu
- 9
- 5
0
votes
1 answer
How to add Basic Auth for Azure HttpTrigger Java Function
I have created a sample Azure HTTP Trigger Java Function using Visual Studio Code and Deployed it to Azure Function App. Now it is Working Fine in Postman without authorization
Postman Basic Auth Screenshot
package com.function;
import…

Balu
- 9
- 5
0
votes
1 answer
Save API JSON Response directly to Azure Blob Storage json file
I am calling to a 3rd party API directly in an Azure HTTP Function. I would like to save the json response to a file inside Azure Blob Storage container. The below code I built (based on microsoft documentation) hangs when I try debugging the Azure…

Lee Whieldon
- 161
- 1
- 16
0
votes
0 answers
Azure SDK JAVA - How to use ProxyOptions to connect to the proxy URL and how to pass the required path to the httpClient along with the hostname
I am trying utilise the ProxyOptions to re-route the blob upload to a proxy URL. In this case localhost
Demo Project:
Gradle Dependency:
implementation 'com.azure:azure-storage-blob'
implementation 'com.azure:azure-core'
implementation…
0
votes
1 answer
How to prevent azure function from executing n-time simultaneously?
I have an external API which invokes my HTTP trigger azure function with the same query parameters 5 times at the same moment. So 5 requests are processed in the same time concurrently, each request adds a record to my google sheet and it causes…

Hawos
- 33
- 6
0
votes
1 answer
How to overwrite a file in azure cosmos DB using azure functions(python) HTTP trigger
I am able to write a file to cosmos DB with the help of output binding, but what I need is to know how to overwrite the existing file that is already in cosmos DB
My code looks like this
import azure.functions as func
def main(req:…

Stark
- 1
- 2
0
votes
1 answer
Can Power Automate trigger a run of an indexer using the REST API
The short version of this question is, in Power Automate you can have the flow trigger an HTTP function of some kind. Is it possible for it to trigger a call to the Run Indexer REST API? I'm getting an error when trying to do it, which I think is…

howlieT
- 191
- 9
0
votes
1 answer
Stopping the listener 'Microsoft.Azure.WebJobs.Extensions.Http.HttpTriggerAttributeBindingProvider+HttpTriggerBinding+NullListener' for function
I have a HTTP trigger, it is running fine locally. But in the deployed version, recently it stopped running & when calling the endpoint URL via postman I'm getting 404 Not Found error. No new changes were deployed specifically related to that…

Sanushi Salgado
- 1,195
- 1
- 11
- 18