Technology Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
bjorn-henrik_zink
Contributor
1,441

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!