I am creating my first agent. I am using the "HTTP request" option.
I have a flask app.py running. snippet of code below:
@app.route('/api/example', methods=['GET'])
def example():
return "Hello, World!"
Below works in postman and in browser.
http://127.0.0.1:5000/api/send_email
Below also works
http://localhost:5000/api/example
For testing, putting in URL below worked in my agent.
What do I need to do to get my agent to call "api/example"?
Currently I get this error message:
Error Message: The invalid uri content issue with reason: The Uri is invalid. Error Code: InvalidUriContent Conversation Id:...
I do not want to publish Flask app.py to public site because I am still developing it.
TIA.