Commit ed8363df8d797269c54e37a8b193c0d7904a3995
1 parent
022a517b
postman collection
Showing
1 changed file
with
158 additions
and
0 deletions
docu/BeuthBot.postman_collection.json
0 → 100644
| 1 | +{ | ||
| 2 | + "info": { | ||
| 3 | + "name": "BeuthBot", | ||
| 4 | + "_postman_id": "fd29548f-6b95-81d0-cae3-1233324d3846", | ||
| 5 | + "description": "", | ||
| 6 | + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | ||
| 7 | + }, | ||
| 8 | + "item": [ | ||
| 9 | + { | ||
| 10 | + "name": "Facebook", | ||
| 11 | + "description": "", | ||
| 12 | + "item": [ | ||
| 13 | + { | ||
| 14 | + "name": "FB setWebhook", | ||
| 15 | + "request": { | ||
| 16 | + "method": "GET", | ||
| 17 | + "header": [], | ||
| 18 | + "body": {}, | ||
| 19 | + "url": { | ||
| 20 | + "raw": "localhost:8080/facebook/setWebhook", | ||
| 21 | + "host": [ | ||
| 22 | + "localhost" | ||
| 23 | + ], | ||
| 24 | + "port": "8080", | ||
| 25 | + "path": [ | ||
| 26 | + "facebook", | ||
| 27 | + "setWebhook" | ||
| 28 | + ] | ||
| 29 | + }, | ||
| 30 | + "description": "" | ||
| 31 | + }, | ||
| 32 | + "response": [] | ||
| 33 | + }, | ||
| 34 | + { | ||
| 35 | + "name": "FB getUpdates", | ||
| 36 | + "request": { | ||
| 37 | + "method": "POST", | ||
| 38 | + "header": [ | ||
| 39 | + { | ||
| 40 | + "key": "Content-Type", | ||
| 41 | + "value": "application/json" | ||
| 42 | + } | ||
| 43 | + ], | ||
| 44 | + "body": { | ||
| 45 | + "mode": "raw", | ||
| 46 | + "raw": "{\"object\":\"page\",\"entry\":[{\"id\":\"163783704220143\",\"time\":1513427045712,\"messaging\":[{\"sender\":{\"id\":\"1385529261556255\"},\"recipient\":{\"id\":\"163783704220143\"},\"timestamp\":1513427044846,\"message\":{\"mid\":\"mid.$cAADOButO2l5mkI1R7lgX0gFO8FR5\",\"seq\":4370,\"text\":\"Hallo\"}}]}]}" | ||
| 47 | + }, | ||
| 48 | + "url": { | ||
| 49 | + "raw": "localhost:8080/facebook/getUpdates", | ||
| 50 | + "host": [ | ||
| 51 | + "localhost" | ||
| 52 | + ], | ||
| 53 | + "port": "8080", | ||
| 54 | + "path": [ | ||
| 55 | + "facebook", | ||
| 56 | + "getUpdates" | ||
| 57 | + ] | ||
| 58 | + }, | ||
| 59 | + "description": "" | ||
| 60 | + }, | ||
| 61 | + "response": [] | ||
| 62 | + } | ||
| 63 | + ] | ||
| 64 | + }, | ||
| 65 | + { | ||
| 66 | + "name": "Rasa", | ||
| 67 | + "description": "", | ||
| 68 | + "item": [ | ||
| 69 | + { | ||
| 70 | + "name": "Rasa parse", | ||
| 71 | + "request": { | ||
| 72 | + "method": "GET", | ||
| 73 | + "header": [], | ||
| 74 | + "body": {}, | ||
| 75 | + "url": { | ||
| 76 | + "raw": "localhost:5000/parse?q=Gerichte", | ||
| 77 | + "host": [ | ||
| 78 | + "localhost" | ||
| 79 | + ], | ||
| 80 | + "port": "5000", | ||
| 81 | + "path": [ | ||
| 82 | + "parse" | ||
| 83 | + ], | ||
| 84 | + "query": [ | ||
| 85 | + { | ||
| 86 | + "key": "q", | ||
| 87 | + "value": "Gerichte", | ||
| 88 | + "equals": true | ||
| 89 | + } | ||
| 90 | + ] | ||
| 91 | + }, | ||
| 92 | + "description": "" | ||
| 93 | + }, | ||
| 94 | + "response": [] | ||
| 95 | + } | ||
| 96 | + ] | ||
| 97 | + }, | ||
| 98 | + { | ||
| 99 | + "name": "Telegram", | ||
| 100 | + "description": "", | ||
| 101 | + "item": [ | ||
| 102 | + { | ||
| 103 | + "name": "Telegram setWebhook", | ||
| 104 | + "request": { | ||
| 105 | + "method": "GET", | ||
| 106 | + "header": [], | ||
| 107 | + "body": {}, | ||
| 108 | + "url": { | ||
| 109 | + "raw": "" | ||
| 110 | + }, | ||
| 111 | + "description": "" | ||
| 112 | + }, | ||
| 113 | + "response": [] | ||
| 114 | + }, | ||
| 115 | + { | ||
| 116 | + "name": "Telegram setWebhook", | ||
| 117 | + "request": { | ||
| 118 | + "method": "POST", | ||
| 119 | + "header": [], | ||
| 120 | + "body": {}, | ||
| 121 | + "url": { | ||
| 122 | + "raw": "localhost:8080/telegram/setWebhook", | ||
| 123 | + "host": [ | ||
| 124 | + "localhost" | ||
| 125 | + ], | ||
| 126 | + "port": "8080", | ||
| 127 | + "path": [ | ||
| 128 | + "telegram", | ||
| 129 | + "setWebhook" | ||
| 130 | + ] | ||
| 131 | + }, | ||
| 132 | + "description": "" | ||
| 133 | + }, | ||
| 134 | + "response": [] | ||
| 135 | + } | ||
| 136 | + ] | ||
| 137 | + }, | ||
| 138 | + { | ||
| 139 | + "name": "Wildfly Home", | ||
| 140 | + "request": { | ||
| 141 | + "method": "GET", | ||
| 142 | + "header": [], | ||
| 143 | + "body": {}, | ||
| 144 | + "url": { | ||
| 145 | + "raw": "localhost/8080", | ||
| 146 | + "host": [ | ||
| 147 | + "localhost" | ||
| 148 | + ], | ||
| 149 | + "path": [ | ||
| 150 | + "8080" | ||
| 151 | + ] | ||
| 152 | + }, | ||
| 153 | + "description": "" | ||
| 154 | + }, | ||
| 155 | + "response": [] | ||
| 156 | + } | ||
| 157 | + ] | ||
| 158 | +} | ||
| 0 | \ No newline at end of file | 159 | \ No newline at end of file |