Skip to content

Instantly share code, notes, and snippets.

@jsancho
Created July 16, 2018 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsancho/aef501cb471b452673da3cd21f40a6f6 to your computer and use it in GitHub Desktop.
Save jsancho/aef501cb471b452673da3cd21f40a6f6 to your computer and use it in GitHub Desktop.
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"Test_Swagger_Routing": {
"inputs": {
"functionApp": {
"id": "/subscriptions/HIDDEN_FROM_PUBLIC_GIST/resourceGroups/HIDDEN_FROM_PUBLIC_GIST/providers/Microsoft.Web/sites/functionapptest"
},
"method": "get",
"uri": "https://HIDDEN_FROM_PUBLIC_GIST.azurewebsites.net/api/TestSwaggerRoute/@{encodeURIComponent(triggerBody()['name'])}"
},
"runAfter": {},
"type": "Function"
}
},
"contentVersion": "1.0.0.0",
"outputs": {},
"parameters": {},
"triggers": {
"manual": {
"inputs": {
"method": "POST",
"schema": {
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"kind": "Http",
"type": "Request"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment