Running the Example from Command Line

First of all, lets run the example from the command line.

Navigate to the virtual environment that you created as part of the Python REST Service installation and then activate it.

Next simply navigate to the endpoints folder and run the step with:

  • python example.py

You can see the before structure and the modified after structure.

You can simply iterate your development from here until you are happy and then call it from Aiimi Insight Engine and ensure it operates correctly.