Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "actions": {
- "Http": {
- "inputs": {
- "method": "GET",
- "uri": "http:/xxxx.azurewebsites.net/api/windmill/toggleMill/@{triggerBody()['windmill_id']}/@{triggerBody()['username']}/@{triggerBody()['enter']}"
- },
- "runAfter": {},
- "type": "Http"
- },
- "Response": {
- "inputs": {
- "statusCode": "@outputs('Http')['statusCode']"
- },
- "runAfter": {
- "Http": [
- "Succeeded",
- "Failed"
- ]
- },
- "type": "Response"
- }
- },
- "contentVersion": "1.0.0.0",
- "outputs": {},
- "parameters": {},
- "triggers": {
- "manual": {
- "inputs": {
- "schema": {
- "properties": {
- "enter": {
- "type": "boolean"
- },
- "username": {
- "type": "string"
- },
- "windmill_id": {
- "type": "integer"
- }
- },
- "required": [
- "username",
- "windmill_id",
- "enter"
- ],
- "type": "object"
- }
- },
- "kind": "Http",
- "type": "Request"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement