更新时间:2022-03-19 05:18:17
如果我查看Azure门户并且在我的一个API中,如果可以将GET终结点更改为具有主体,则不可能:
If I look into the Azure Portal and in one of my APIs if it is possible to change a GET endpoint to have a body it is not possible:
也许您可以对政策有所作为,但我对此表示怀疑.
Maybe you can do something with policies, but I doubt it.
此外,我不建议在GET请求中包含正文.您为什么想要身体健美? Azure Functions可以支持POST请求并具有主体,我拥有它们,它们执行得很好.
Furthermore, I would not recommend to have a body in a GET request. Why do you want to have a GET with body? Azure Functions can support POST requests and have a body, I have them and they perform perfectly fine.
亲切的问候.