簡體   English   中英

“未找到” Azure持久功能

[英]Azure Durable Functions “Not Found”

我正在嘗試運行Microsoft持久功能示例。 這篇文章在這里 當我運行功能項目(C#,Visual Studio)時,它似乎可以正常啟動,CLI旋轉起來,我得到了初始化的主機和列出的兩個起始URL。

Http Functions:

        HttpStart: http://localhost:7071/orchestrators/{functionName}

        HttpSyncStart: http://localhost:7071/orchestrators/{functionName}/wait

但是,當我導航到一個函數來啟動它時,它會告訴我“未找到”,例如通過:

http:// localhost:7071 / orchestrators / E1_HelloSequence

我得到“未找到”:

[30/05/2018 21:17:40] Executed HTTP request: {
[30/05/2018 21:17:40]   "requestId": "9b82e4b2-c0df-4cf4-a191-ce7d7709d30f",
[30/05/2018 21:17:40]   "method": "GET",
[30/05/2018 21:17:40]   "uri": "/orchestrators/E1_HelloSequence",
[30/05/2018 21:17:40]   "authorizationLevel": "Anonymous",
[30/05/2018 21:17:40]   "status": "NotFound"
[30/05/2018 21:17:40] }

知道為什么最基本的樣本會讓我頭疼嗎? 我嘗試了許多不同的組合,但都無濟於事。

您正在發出GET請求,而HttpStart被定義為POST 更改您的請求,或將GET添加到function.json

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM