
Here is a short blog post based on the great Call SAP Conversational AI API Using OAuth tutorial https://developers.sap.com/tutorials/conversational-ai-api-oauth.html. I did not want to use flask and just wanted to provide a simple request example of how to do the call to SAP Conversational AI API using OAuth from Python.
The code can be found on GitHub here: https://github.com/bjornhenrikzink/python/tree/master/SAP-Conversational-AI
Simple sequence diagram of the flow:
Sometimes a screenshot says more than a thousand words and should be all you need to make the example work:
That's it. Enjoy!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 |