Bug fixes to main api request handler
Add example code