beuth-bot.json 4.06 KB
{
	"info": {
		"name": "beuth-bot-v1",
		"_postman_id": "8b06966b-f57c-2927-3250-8241d48b465b",
		"description": "",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Facebook",
			"item": [
				{
					"name": "setWebhook",
					"request": {
						"method": "GET",
						"header": [],
						"body": {},
						"url": {
							"raw": "localhost:8080/facebook/setWebhook",
							"host": [
								"localhost"
							],
							"port": "8080",
							"path": [
								"facebook",
								"setWebhook"
							]
						},
						"description": ""
					},
					"response": []
				},
				{
					"name": "getUpdates",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\"object\":\"page\",\"entry\":[{\"id\":\"163783704220143\",\"time\":1513427045712,\"messaging\":[{\"sender\":{\"id\":\"1385529261556255\"},\"recipient\":{\"id\":\"163783704220143\"},\"timestamp\":1513427044846,\"message\":{\"mid\":\"mid.$cAADOButO2l5mkI1R7lgX0gFO8FR5\",\"seq\":4370,\"text\":\"Was gibt es in der Mensa heute?\"}}]}]}"
						},
						"url": {
							"raw": "localhost:8080/facebook/getUpdates",
							"host": [
								"localhost"
							],
							"port": "8080",
							"path": [
								"facebook",
								"getUpdates"
							]
						},
						"description": ""
					},
					"response": []
				}
			]
		},
		{
			"name": "Rasa",
			"item": [
				{
					"name": "Hello",
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "http://localhost:5000/parse?q=Hello",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "5000",
							"path": [
								"parse"
							],
							"query": [
								{
									"key": "q",
									"value": "Hello",
									"equals": true
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Telegram",
			"item": [
				{
					"name": "getUpdates",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "Update{update_id=800044739, message=Message{message_id=103, from=User{id=61996740, first_name='Markus', last_name='Buhl', username='tweeeeak', language_code='en'}, date=1512399307, chat=Chat{id=61996740, type=Private, first_name='Markus', last_name='Buhl', username='tweeeeak', title='null', all_members_are_administrators=null}, forward_from=null, forward_from_chat=null, forward_from_message_id=null, forward_date=null, reply_to_message=null, edit_date=null, text='Hallo', entities=null, audio=null, document=null, game=null, photo=null, sticker=null, video=null, voice=null, video_note=null, new_chat_members=null, caption='null', contact=null, location=null, venue=null, new_chat_member=null, left_chat_member=null, new_chat_title='null', new_chat_photo=null, delete_chat_photo=null, group_chat_created=null, supergroup_chat_created=null, channel_chat_created=null, migrate_to_chat_id=null, migrate_from_chat_id=null, pinned_message=null, invoice=null, successful_payment=null}, edited_message=null, channel_post=null, edited_channel_post=null, inline_query=null, chosen_inline_result=null, callback_query=null, shipping_query=null, pre_checkout_query=null}"
						},
						"url": {
							"raw": "localhost:8080/telegram/getUpdates",
							"host": [
								"localhost"
							],
							"port": "8080",
							"path": [
								"telegram",
								"getUpdates"
							]
						},
						"description": ""
					},
					"response": []
				}
			]
		},
		{
			"name": "Application appearing",
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "localhost:8080/bht-chatbot",
					"host": [
						"localhost"
					],
					"port": "8080",
					"path": [
						"bht-chatbot"
					]
				}
			},
			"response": []
		}
	]
}