Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POST /webhook
- Received postback for user 1117142921718529 with payload 'Greeting'
- Executing (default): SELECT 1+1 AS result
- Executing (23d51fba-8354-40e1-9221-f03e38a3baa9): START TRANSACTION;
- Executing (23d51fba-8354-40e1-9221-f03e38a3baa9): SELECT `id`, `last_name`, `first_name`, `gender`, `user_index` FROM `user` AS `user` WHERE `user`.`user_index` = '1117142921718529' LIMIT 1;
- Executing (23d51fba-8354-40e1-9221-f03e38a3baa9): COMMIT;
- { id: 53,
- last_name: 'Bojara',
- first_name: 'Sebastian',
- gender: 'male',
- user_index: '1117142921718529' }
- send success
- POST /webhook
- POST /webhook
- POST /webhook
- { sender: { id: '1117142921718529' },
- recipient: { id: '199278910598962' },
- timestamp: 1502984349560,
- message:
- { quick_reply: { payload: 'Pass' },
- mid: 'mid.$cAADvzaGBPT9kIh5veFd8Nk5kCHfe',
- seq: 713227,
- text: 'Tak' } }
- ok
- Executing (default): SELECT 1+1 AS result
- Executing (default): SELECT `quiz_questions`.`id`, `quiz_questions`.`value`, `quiz_questions`.`filename`, `question_options`.`id` AS `question_options.id`, `question_options`.`quiz_question_id` AS `question_options.quizQuestionId`, `question_options`.`text` AS `question_options.text`, `question_options`.`is_correct` AS `question_options.is_correct`, `question_options`.`option_filename` AS `question_options.option_filename`, `question_options`.`quiz_question_id` AS `question_options.quiz_question_id` FROM `quiz_questions` AS `quiz_questions` LEFT OUTER JOIN `question_option` AS `question_options` ON `quiz_questions`.`id` = `question_options`.`quiz_question_id`;
- send success
- POST /webhook
- [ { content_type: 'text', title: 'A.', payload: 'Pass 1' },
- { content_type: 'text', title: 'B.', payload: 'Pass 0' },
- { content_type: 'text', title: 'C.', payload: 'Pass 0' },
- { content_type: 'text', title: 'D.', payload: 'Pass 0' } ]
- send success
- send success
- POST /webhook
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement