Im trying to figure out how to get Azure Functions route param (segment) using Powershell.
I want somehow to get the method defined in my function.json-file:
{
"bindings": [
{
"name": "req",
"type": "httpTrigger",
"direction": "in",
"authLevel": "function",
"route": "api/{method}"
},
...
]
}
$req = Gives me body if using POST
$req_query_* = Gives me query params but not the segment defined in route.
Thanks in advance