Nexmo: How to transfer call route to the same function again and again to form a loop
问题 I am trying to make a simple voice IVR for my project using nexmo API. Please refer to the image for exact clearance. basic idea by flow diagram of what I am trying to do as ivr. Now the problem occurs that I can't able to make a loop to return to the mainMenu if digit pressed was wrong. The problem till I get understood is in GET and POST method of my function. from flask import Flask, request, jsonify, Response, render_template import nexmo from pprint import pprint from random import